ControllerRevision

io.k8s.api.apps.v1.ControllerRevision
See theControllerRevision companion object
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.

Attributes

Companion:
object
Source:
ControllerRevision.scala
Graph
Supertypes
trait KObject
trait Product
trait Equals
trait Serializable
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def foldTo[T : Builder]: T

Attributes

Definition Classes
Source:
ControllerRevision.scala

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

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

Attributes

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

Attributes

Source:
ControllerRevision.scala

transforms revision to result of function

transforms revision to result of function

Attributes

Source:
ControllerRevision.scala

Returns a new data with data set to new value

Returns a new data with data set to new value

Attributes

Source:
ControllerRevision.scala

Returns a new data with metadata set to new value

Returns a new data with metadata set to new value

Attributes

Source:
ControllerRevision.scala

Returns a new data with revision set to new value

Returns a new data with revision set to new value

Attributes

Source:
ControllerRevision.scala

Inherited methods

final def group: String

Attributes

Inherited from:
KObject
Source:
ResourceKind.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Inherited fields

final lazy val apiVersion: String

Attributes

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

Attributes

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

Attributes

Inherited from:
KObject
Source:
ResourceKind.scala