ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.
- Value Params
- revision
Revision indicates the revision of the state represented by Data.
- Companion
- object
Value members
Concrete methods
Gets data.
Gets data.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
Gets metadata.
Gets metadata.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
Inherited methods
Attach another resource as the owner of this one
Attach another resource as the owner of this one
- Value Params
- ownerName
Owner's name
- ownerType
Owner's resource type metadata
- ownerUid
Owner's UID
- Returns
Object with the attached owner described in its metadata
- Inherited from
- K8sObjectOps
Gets the geneation of the object or 0 if it is new
Gets the geneation of the object or 0 if it is new
- Inherited from
- K8sObjectOps
Gets the metadata of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
Gets the metadata of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
- Inherited from
- K8sObjectOps
Gets the name of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
Gets the name of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
- Inherited from
- K8sObjectOps
Gets the UID of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
Gets the UID of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
- Inherited from
- K8sObjectOps
Verifies ownership between the resources
Verifies ownership between the resources
- Type Params
- OwnerT
Type of the owner resource
- Value Params
- owner
Possible owner of this resource
- Returns
True if owner owns this resource
- Inherited from
- K8sObjectOps
Creates a new object with its metadata modified by the given function f
Creates a new object with its metadata modified by the given function f
- Value Params
- f
Function to modify the object's metadata with
- Returns
Object with modified metadata
- Inherited from
- K8sObjectOps
Gets the metadata of the object
Gets the metadata of the object
- Inherited from
- K8sObjectOps
Tries to attach another resource as the owner of this one. Can fail with com.coralogix.zio.k8s.client.UndefinedField if the owner does not have all the required metadata.
Tries to attach another resource as the owner of this one. Can fail with com.coralogix.zio.k8s.client.UndefinedField if the owner does not have all the required metadata.
- Type Params
- OwnerT
Type of the owner
- Value Params
- owner
Owner resource
- Returns
Object with the attached owner described in its metadata
- Inherited from
- K8sObjectOps