public interface NamespaceService extends WithToImmutable<NamespaceService>
| Modifier and Type | Method and Description |
|---|---|
io.fabric8.kubernetes.api.model.v4_0.Namespace |
annotate(String namespace,
Map<String,String> annotations)
Adds the specified annotations to the
Namespace. |
void |
clean(String namespace)
Deprecated.
|
io.fabric8.kubernetes.api.model.v4_0.Namespace |
create(String namespace)
Creates a
Namespace with the specified name. |
io.fabric8.kubernetes.api.model.v4_0.Namespace |
create(String namespace,
Map<String,String> annotations)
Creates a
Namespace with the specified name. |
Boolean |
delete(String namespace)
Deletes the specified
Namespace. |
void |
destroy(String namespace)
Destroy the
Namespace. |
Boolean |
exists(String namespace)
Checks if
Namespace can exists. |
toImmutableio.fabric8.kubernetes.api.model.v4_0.Namespace create(String namespace)
Namespace with the specified name.namespace - The name of the Namespace.Namespace.io.fabric8.kubernetes.api.model.v4_0.Namespace create(String namespace, Map<String,String> annotations)
Namespace with the specified name.namespace - The name of the Namespace.annotations - A map containing the annotations.Namespace.io.fabric8.kubernetes.api.model.v4_0.Namespace annotate(String namespace, Map<String,String> annotations)
Namespace.namespace - The Namespace to annotate.annotations - A map containing the annotations.Namespace.Boolean delete(String namespace)
Namespace.namespace - The name of the Namespace to delete.Boolean exists(String namespace)
Namespace can exists.namespace - The name of the Namespace to check.Namespace exists, False otherwise.@Deprecated void clean(String namespace)
Namespace/void destroy(String namespace)
Namespace.namespace - The namespace to destroy.Copyright © 2018 JBoss by Red Hat. All rights reserved.