Class: Namespace
Defined in: lib/k8s/namespace.ts:28
Extends
Constructors
Constructor
new Namespace(json: KubeNamespace, cluster?: string): Namespace;
Defined in: lib/k8s/KubeObject.ts:100
Parameters
| Parameter | Type |
|---|---|
json | KubeNamespace |
cluster? | string |
Returns
Namespace
Inherited from
Properties
| Property | Modifier | Type | Default value | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|---|---|
_clusterName | public | string | undefined | - | - | KubeObject._clusterName | lib/k8s/KubeObject.ts:50 |
jsonData | public | KubeNamespace | undefined | - | - | KubeObject.jsonData | lib/k8s/KubeObject.ts:47 |
_internalApiEndpoint? | static | | ApiClient<KubeObjectInterface> | ApiWithNamespaceClient<KubeObjectInterface> | undefined | - | - | KubeObject._internalApiEndpoint | lib/k8s/KubeObject.ts:67 |
apiName | static | string | 'namespaces' | Name of the resource, plural, used in API | KubeObject.apiName | - | lib/k8s/namespace.ts:30 |
apiVersion | static | string | 'v1' | Group and version of the resource formatted as "GROUP/VERSION", e.g. "policy.k8s.io/v1". | KubeObject.apiVersion | - | lib/k8s/namespace.ts:31 |
isNamespaced | static | boolean | false | Whether the object is namespaced. | KubeObject.isNamespaced | - | lib/k8s/namespace.ts:32 |
isScalable | readonly | boolean | undefined | Whether the object is scalable, and should have a ScaleButton | - | KubeObject.isScalable | lib/k8s/KubeObject.ts:65 |
kind | static | string | 'Namespace' | The kind of the object. Corresponding to the resource kind in Kubernetes. | KubeObject.kind | - | lib/k8s/namespace.ts:29 |
readOnlyFields | static | string[] | [] | Readonly field defined as JSONPath paths | - | KubeObject.readOnlyFields | lib/k8s/KubeObject.ts:49 |
Accessors
cluster
Get Signature
get cluster(): string;
Defined in: lib/k8s/KubeObject.ts:105
Returns
string
Set Signature
set cluster(cluster: string): void;
Defined in: lib/k8s/KubeObject.ts:109
Parameters
| Parameter | Type |
|---|---|
cluster | string |
Returns
void