Skip to main content

Interface: KubeControllerRevision

Defined in: lib/k8s/controllerRevision.ts:29

ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state.

Used by DaemonSets and StatefulSets to store revision history for rollback.

See​

https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/

Extends​

Indexable​

[otherProps: string]: any

Properties​

actionType?​

optional actionType?: any;

Defined in: lib/k8s/KubeObject.ts:787

Inherited from​

KubeObjectInterface.actionType


apiVersion?​

optional apiVersion?: string;

Defined in: lib/k8s/KubeObject.ts:782

Inherited from​

KubeObjectInterface.apiVersion


data?​

optional data?: object;

Defined in: lib/k8s/controllerRevision.ts:34

Data is the serialized representation of the state. Contains the previous spec of the owning controller.

Index Signature​

[key: string]: any

spec?​

optional spec?: object;
Index Signature​
[key: string]: any
spec.template?​
optional template?: object;
Index Signature​
[key: string]: any

items?​

optional items?: any[];

Defined in: lib/k8s/KubeObject.ts:786

Inherited from​

KubeObjectInterface.items


key?​

optional key?: any;

Defined in: lib/k8s/KubeObject.ts:789

Inherited from​

KubeObjectInterface.key


kind​

kind: string;

Defined in: lib/k8s/KubeObject.ts:781

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​

more info

Inherited from​

KubeObjectInterface.kind


lastTimestamp?​

optional lastTimestamp?: string;

Defined in: lib/k8s/KubeObject.ts:788

Inherited from​

KubeObjectInterface.lastTimestamp


metadata​

metadata: KubeMetadata;

Defined in: lib/k8s/KubeObject.ts:783

Inherited from​

KubeObjectInterface.metadata


revision​

revision: number;

Defined in: lib/k8s/controllerRevision.ts:46

Revision indicates the revision of the state represented by Data.


spec?​

optional spec?: any;

Defined in: lib/k8s/KubeObject.ts:784

Inherited from​

KubeObjectInterface.spec


status?​

optional status?: any;

Defined in: lib/k8s/KubeObject.ts:785

Inherited from​

KubeObjectInterface.status