Class: PriorityClass
Extends
Constructors
new PriorityClass()
new PriorityClass(json: KubePriorityClass, cluster?: string): PriorityClass
Parameters
| Parameter | Type |
|---|---|
json | KubePriorityClass |
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:29 |
jsonData | public | KubePriorityClass | undefined | - | - | KubeObject.jsonData | src/lib/k8s/KubeObject.ts:26 |
_internalApiEndpoint? | static | ApiClient<KubeObjectInterface> | ApiWithNamespaceClient<KubeObjectInterface> | undefined | - | - | KubeObject._internalApiEndpoint | src/lib/k8s/KubeObject.ts:43 |
apiName | static | string | 'priorityclasses' | Name of the resource, plural, used in API | KubeObject.apiName | - | src/lib/k8s/priorityClass.ts:12 |
apiVersion | static | string | 'scheduling.k8s.io/v1' | Group and version of the resource formatted as "GROUP/VERSION", e.g. "policy.k8s.io/v1". | KubeObject.apiVersion | - | src/lib/k8s/priorityClass.ts:13 |
isNamespaced | static | boolean | false | Whether the object is namespaced. | KubeObject.isNamespaced | - | src/lib/k8s/priorityClass.ts:14 |
kind | static | string | 'PriorityClass' | The kind of the object. Corresponding to the resource kind in Kubernetes. | KubeObject.kind | - | src/lib/k8s/priorityClass.ts:11 |
readOnlyFields | static | string[] | [] | Readonly field defined as JSONPath paths | - | KubeObject.readOnlyFields | src/lib/k8s/KubeObject.ts:28 |
Accessors
cluster
get cluster(): string
set cluster(cluster: string): void
Parameters
| Parameter | Type |
|---|---|
cluster | string |
Returns
string
Inherited from
Defined in
description
get description(): string
Returns
string
Defined in
src/lib/k8s/priorityClass.ts:24
detailsRoute
get detailsRoute(): string
Returns
string
Inherited from
Defined in
globalDefault
get globalDefault(): null | boolean
Returns
null | boolean
Defined in
src/lib/k8s/priorityClass.ts:20
isNamespaced
get isNamespaced(): boolean
Returns
boolean
Inherited from
Defined in
kind
get kind(): any
Returns
any
Inherited from
Defined in
listRoute
get listRoute(): string
Returns
string
Inherited from
Defined in
metadata
get metadata(): KubeMetadata
Returns
Inherited from
Defined in
pluralName
get pluralName(): string
Returns
string
Inherited from
Defined in
preemptionPolicy
get preemptionPolicy(): string
Returns
string
Defined in
src/lib/k8s/priorityClass.ts:28
value
get value(): number
Returns
number
Defined in
src/lib/k8s/priorityClass.ts:16
apiEndpoint
get static apiEndpoint(): ApiClient<KubeObjectInterface> | ApiWithNamespaceClient<KubeObjectInterface>
set static apiEndpoint(endpoint: ApiClient<KubeObjectInterface> | ApiWithNamespaceClient<KubeObjectInterface>): void
Parameters
| Parameter | Type |
|---|---|
endpoint | ApiClient<KubeObjectInterface> | ApiWithNamespaceClient<KubeObjectInterface> |
Returns
ApiClient<KubeObjectInterface> | ApiWithNamespaceClient<KubeObjectInterface>
Inherited from
Defined in
className
get static className(): string
Returns
string
Inherited from
Defined in
detailsRoute
get static detailsRoute(): string
Returns
string
Inherited from
Defined in
listRoute
get static listRoute(): string
Returns
string
Inherited from
Defined in
pluralName
get static pluralName(): string
Returns
string
Inherited from
Defined in
Methods
_class()
_class(): typeof KubeObject
Returns
typeof KubeObject
Inherited from
Defined in
delete()
delete(): Promise<any>
Returns
Promise<any>
Inherited from
Defined in
getAge()
getAge(): string
Returns
string
Inherited from
Defined in
getAuthorization()
getAuthorization(verb: string, reqResourseAttrs?: AuthRequestResourceAttrs): Promise<any>
Parameters
| Parameter | Type |
|---|---|
verb | string |
reqResourseAttrs? | AuthRequestResourceAttrs |
Returns
Promise<any>
Inherited from
Defined in
getCreationTs()
getCreationTs(): string
Returns
string
Inherited from
Defined in
getDetailsLink()
getDetailsLink(): string
Returns
string
Inherited from
Defined in
getEditableObject()
getEditableObject(): object
Returns
object
Inherited from
Defined in
getListLink()
getListLink(): string