Class: Lease
Extends
Constructors
new Lease()
new Lease(json: KubeLease, cluster?: string): Lease
Parameters
| Parameter | Type |
|---|---|
json | KubeLease |
cluster? | string |
Returns
Inherited from
Defined in
Properties
| Property | Modifier | Type | Default value | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|---|---|
_clusterName | public | string | undefined | - | - | KubeObject._clusterName | src/lib/k8s/KubeObject.ts:50 |
jsonData | public | KubeLease | undefined | - | - | KubeObject.jsonData | src/lib/k8s/KubeObject.ts:47 |
_internalApiEndpoint? | static | ApiClient<KubeObjectInterface> | ApiWithNamespaceClient<KubeObjectInterface> | undefined | - | - | KubeObject._internalApiEndpoint | src/lib/k8s/KubeObject.ts:67 |
apiName | static | string | 'leases' | Name of the resource, plural, used in API | KubeObject.apiName | - | src/lib/k8s/lease.ts:33 |
apiVersion | static | string | 'coordination.k8s.io/v1' | Group and version of the resource formatted as "GROUP/VERSION", e.g. "policy.k8s.io/v1". | KubeObject.apiVersion | - | src/lib/k8s/lease.ts:34 |
isNamespaced | static | boolean | true | Whether the object is namespaced. | KubeObject.isNamespaced | - | src/lib/k8s/lease.ts:35 |
isScalable | readonly | boolean | undefined | Whether the object is scalable, and should have a ScaleButton | - | KubeObject.isScalable | src/lib/k8s/KubeObject.ts:65 |
kind | static | string | 'Lease' | The kind of the object. Corresponding to the resource kind in Kubernetes. | KubeObject.kind | - | src/lib/k8s/lease.ts:32 |
readOnlyFields | static | string[] | [] | Readonly field defined as JSONPath paths | - | KubeObject.readOnlyFields | src/lib/k8s/KubeObject.ts:49 |
Accessors
cluster
get cluster(): string
set cluster(cluster: string): void
Parameters
| Parameter | Type |
|---|---|
cluster | string |
Returns
string
Inherited from
Defined in
detailsRoute
get detailsRoute(): string
Returns
string
Inherited from
Defined in
isNamespaced
get isNamespaced(): boolean
Returns
boolean
Inherited from
Defined in
isScalable
get isScalable(): boolean
Returns
boolean
Inherited from
Defined in
kind
get kind(): any
Returns
any
Inherited from
Defined in
listRoute
get listRoute(): string
Returns
string