public class Namespace extends KubernetesResource implements INamespace
ANNOTATIONS, APIVERSION, CREATION_TIMESTAMP, FROM, GROUP, KIND, LABELS, METADATA, METADATA_NAME, METADATA_NAMESPACE, METADATA_RESOURCE_VERSION, METADATA_UID, NAME, NAMESPACE, OBJECTS, PORTS, PROTOCOL, RESOURCE_VERSION, TYPE, VALUE, VERBS, VERSION| Constructor and Description |
|---|
Namespace(org.jboss.dmr.ModelNode node,
IClient client,
Map<String,String[]> propertyKeys) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getDisplayName() |
Namespace |
getNamespace()
Return the namespace of the resource
|
String |
getNamespaceName()
Returns the scope of this resource
|
String |
getRequester() |
<T extends IResource> |
getResources(String kind)
Retrieves resource of the given kind that are scoped to this project
|
void |
setDescription(String description) |
void |
setDisplayName(String displayName) |
void |
setRequest(String requester) |
accept, addLabel, asBoolean, asBoolean, asInt, asInt, asMap, asSet, asString, asString, equals, get, get, getAnnotation, getAnnotations, getApiVersion, getCapabilities, getCapability, getClient, getCreationTimeStamp, getEnvMap, getKind, getLabels, getMetadata, getModifiableCapabilities, getName, getNode, getPath, getProject, getPropertyKeys, getResourceVersion, has, hashCode, isAnnotatedWith, refresh, removeAnnotation, set, set, set, set, set, set, set, set, set, setAnnotation, setEnvMap, setName, setNamespace, setNode, supports, toJson, toJson, toPrettyString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddLabel, getAnnotation, getAnnotations, getCapabilities, getCreationTimeStamp, getLabels, getMetadata, getName, getProject, getResourceVersion, isAnnotatedWith, removeAnnotation, setAnnotationaccept, getCapability, supportsgetApiVersiontoJson, toJsonpublic <T extends IResource> List<T> getResources(String kind)
INamespacegetResources in interface INamespacekind - the resource kind to retrieveINamespacespublic Namespace getNamespace()
IResourcegetNamespace in interface IResourcegetNamespace in class KubernetesResourcepublic String getNamespaceName()
IResourcegetNamespaceName in interface IResourcegetNamespaceName in class KubernetesResourcepublic String getDisplayName()
getDisplayName in interface INamespacepublic void setDisplayName(String displayName)
setDisplayName in interface INamespacepublic String getDescription()
getDescription in interface INamespacepublic void setDescription(String description)
setDescription in interface INamespacepublic String getRequester()
getRequester in interface INamespacepublic void setRequest(String requester)
setRequest in interface INamespaceCopyright © 2020 Red Hat, Inc. All Rights Reserved.