Interface: KubeRole
Defined in: lib/k8s/role.ts:20
This is the base interface for all Kubernetes resources, i.e. it contains fields that all Kubernetes resources have.
Extends
Indexable
[otherProps: string]: any
Properties
actionType?
optional actionType?: any;
Defined in: lib/k8s/KubeObject.ts:730
Inherited from
KubeObjectInterface.actionType
apiVersion?
optional apiVersion?: string;
Defined in: lib/k8s/KubeObject.ts:725
Inherited from
KubeObjectInterface.apiVersion
items?
optional items?: any[];
Defined in: lib/k8s/KubeObject.ts:729
Inherited from
key?
optional key?: any;
Defined in: lib/k8s/KubeObject.ts:732
Inherited from
kind
kind: string;
Defined in: lib/k8s/KubeObject.ts:724
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to.
In CamelCase.
Cannot be updated.
See
Inherited from
lastTimestamp?
optional lastTimestamp?: string;
Defined in: lib/k8s/KubeObject.ts:731
Inherited from
KubeObjectInterface.lastTimestamp
metadata
metadata: KubeMetadata;
Defined in: lib/k8s/KubeObject.ts:726
Inherited from
rules
rules: object[];
Defined in: lib/k8s/role.ts:21
apiGroups
apiGroups: string[];
nonResourceURLs
nonResourceURLs: string[];
resourceNames
resourceNames: string[];
resources
resources: string[];
verbs
verbs: string[];
spec?
optional spec?: any;
Defined in: lib/k8s/KubeObject.ts:727
Inherited from
status?
optional status?: any;
Defined in: lib/k8s/KubeObject.ts:728