final case class ControllerRevision(revision: Int, data: Option[RawExtension] = None, metadata: Option[ObjectMeta] = None) extends KObject with Product with Serializable

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
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ControllerRevision
  2. KObject
  3. Product
  4. Equals
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ControllerRevision(revision: Int, data: Option[RawExtension] = None, metadata: Option[ObjectMeta] = None)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val _resourceKind: ResourceKind
    Attributes
    protected
    Definition Classes
    ControllerRevisionKObject
  5. final lazy val apiVersion: String
    Definition Classes
    KObject
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. val data: Option[RawExtension]
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. def foldTo[T](implicit arg0: Builder[T]): T
    Definition Classes
    ControllerRevisionKObject
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def group: String
    Definition Classes
    KObject
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final lazy val kind: String
    Definition Classes
    KObject
  16. def mapData(f: (RawExtension) => RawExtension): ControllerRevision

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

  17. def mapMetadata(f: (ObjectMeta) => ObjectMeta): ControllerRevision

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

  18. def mapRevision(f: (Int) => Int): ControllerRevision

    transforms revision to result of function

  19. val metadata: Option[ObjectMeta]
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def productElementNames: Iterator[String]
    Definition Classes
    Product
  24. val revision: Int
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. final lazy val version: String
    Definition Classes
    KObject
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. def withData(value: RawExtension): ControllerRevision

    Returns a new data with data set to new value

  31. def withMetadata(value: ObjectMeta): ControllerRevision

    Returns a new data with metadata set to new value

  32. def withRevision(value: Int): ControllerRevision

    Returns a new data with revision set to new value

Inherited from KObject

Inherited from Product

Inherited from Equals

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped