ControllerRevision

final case class ControllerRevision(revision: Int, data: Option[RawExtension], metadata: Option[ObjectMeta]) extends KObject

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.

Source:
ControllerRevision.scala
trait KObject
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

if data has a value, transforms to the result of function

if data has a value, transforms to the result of function

Source:
ControllerRevision.scala

if metadata has a value, transforms to the result of function

if metadata has a value, transforms to the result of function

Source:
ControllerRevision.scala

transforms revision to result of function

transforms revision to result of function

Source:
ControllerRevision.scala

Returns a new data with data set to new value

Returns a new data with data set to new value

Source:
ControllerRevision.scala

Returns a new data with metadata set to new value

Returns a new data with metadata set to new value

Source:
ControllerRevision.scala

Returns a new data with revision set to new value

Returns a new data with revision set to new value

Source:
ControllerRevision.scala

Inherited methods

final def group: String
Inherited from:
KObject
Source:
ResourceKind.scala
Inherited from:
Product

Inherited fields

final lazy val apiVersion: String
Inherited from:
KObject
Source:
ResourceKind.scala
final lazy val kind: String
Inherited from:
KObject
Source:
ResourceKind.scala
final lazy val version: String
Inherited from:
KObject
Source:
ResourceKind.scala