Class: PDB
Defined in: lib/k8s/podDisruptionBudget.ts:55
Extends
Constructors
Constructor
new PDB(json: KubePDB, cluster?: string): PDB;
Defined in: lib/k8s/KubeObject.ts:109
Parameters
| Parameter | Type |
|---|---|
json | KubePDB |
cluster? | string |
Returns
PDB
Inherited from
Properties
| Property | Modifier | Type | Default value | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|---|---|
_clusterName | public | string | undefined | - | - | KubeObject._clusterName | lib/k8s/KubeObject.ts:59 |
jsonData | public | KubePDB | undefined | - | - | KubeObject.jsonData | lib/k8s/KubeObject.ts:56 |
_internalApiEndpoint? | static | | ApiClient<KubeObjectInterface> | ApiWithNamespaceClient<KubeObjectInterface> | undefined | - | - | KubeObject._internalApiEndpoint | lib/k8s/KubeObject.ts:76 |
apiName | static | string | 'poddisruptionbudgets' | Name of the resource, plural, used in API | KubeObject.apiName | - | lib/k8s/podDisruptionBudget.ts:57 |
apiVersion | static | string | 'policy/v1' | Group and version of the resource formatted as "GROUP/VERSION", e.g. "policy.k8s.io/v1". | KubeObject.apiVersion | - | lib/k8s/podDisruptionBudget.ts:58 |
isNamespaced | static | boolean | true | Whether the object is namespaced. | KubeObject.isNamespaced | - | lib/k8s/podDisruptionBudget.ts:59 |
isScalable | readonly | boolean | undefined | Whether the object is scalable, and should have a ScaleButton | - | KubeObject.isScalable | lib/k8s/KubeObject.ts:74 |
kind | static | string | 'PodDisruptionBudget' | The kind of the object. Corresponding to the resource kind in Kubernetes. | KubeObject.kind | - | lib/k8s/podDisruptionBudget.ts:56 |
readOnlyFields | static | string[] | [] | Readonly field defined as JSONPath paths | - | KubeObject.readOnlyFields | lib/k8s/KubeObject.ts:58 |
Accessors
cluster
Get Signature
get cluster(): string;
Defined in: lib/k8s/KubeObject.ts:114
Returns
string
Set Signature
set cluster(cluster: string): void;
Defined in: lib/k8s/KubeObject.ts:118
Parameters
| Parameter | Type |
|---|---|
cluster | string |
Returns
void
Inherited from
detailsRoute
Get Signature
get detailsRoute(): string;
Defined in: lib/k8s/KubeObject.ts:126
Returns
string
Inherited from
isNamespaced
Get Signature
get isNamespaced(): boolean;
Defined in: lib/k8s/KubeObject.ts:235
Returns
boolean
Inherited from
isScalable
Get Signature
get isScalable(): boolean;
Defined in: lib/k8s/KubeObject.ts:239
Returns
boolean
Inherited from
kind
Get Signature
get kind(): any;
Defined in: lib/k8s/KubeObject.ts:189
Returns
any