final case class StatefulSetSpec(serviceName: String, template: PodTemplateSpec, selector: LabelSelector, minReadySeconds: Option[Int] = None, replicas: Option[Int] = None, revisionHistoryLimit: Option[Int] = None, podManagementPolicy: Option[String] = None, volumeClaimTemplates: Option[Seq[PersistentVolumeClaim]] = None, persistentVolumeClaimRetentionPolicy: Option[StatefulSetPersistentVolumeClaimRetentionPolicy] = None, updateStrategy: Option[StatefulSetUpdateStrategy] = None) extends Product with Serializable

A StatefulSetSpec is the specification of a StatefulSet.

Source
StatefulSetSpec.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StatefulSetSpec
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new StatefulSetSpec(serviceName: String, template: PodTemplateSpec, selector: LabelSelector, minReadySeconds: Option[Int] = None, replicas: Option[Int] = None, revisionHistoryLimit: Option[Int] = None, podManagementPolicy: Option[String] = None, volumeClaimTemplates: Option[Seq[PersistentVolumeClaim]] = None, persistentVolumeClaimRetentionPolicy: Option[StatefulSetPersistentVolumeClaimRetentionPolicy] = None, updateStrategy: Option[StatefulSetUpdateStrategy] = 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. def addVolumeClaimTemplates(newValues: PersistentVolumeClaim*): StatefulSetSpec

    Appends new values to volumeClaimTemplates

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. def mapMinReadySeconds(f: (Int) => Int): StatefulSetSpec

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

  12. def mapPersistentVolumeClaimRetentionPolicy(f: (StatefulSetPersistentVolumeClaimRetentionPolicy) => StatefulSetPersistentVolumeClaimRetentionPolicy): StatefulSetSpec

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

  13. def mapPodManagementPolicy(f: (String) => String): StatefulSetSpec

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

  14. def mapReplicas(f: (Int) => Int): StatefulSetSpec

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

  15. def mapRevisionHistoryLimit(f: (Int) => Int): StatefulSetSpec

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

  16. def mapSelector(f: (LabelSelector) => LabelSelector): StatefulSetSpec

    transforms selector to result of function

  17. def mapServiceName(f: (String) => String): StatefulSetSpec

    transforms serviceName to result of function

  18. def mapTemplate(f: (PodTemplateSpec) => PodTemplateSpec): StatefulSetSpec

    transforms template to result of function

  19. def mapUpdateStrategy(f: (StatefulSetUpdateStrategy) => StatefulSetUpdateStrategy): StatefulSetSpec

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

  20. def mapVolumeClaimTemplates(f: (Seq[PersistentVolumeClaim]) => Seq[PersistentVolumeClaim]): StatefulSetSpec

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

  21. val minReadySeconds: Option[Int]
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. val persistentVolumeClaimRetentionPolicy: Option[StatefulSetPersistentVolumeClaimRetentionPolicy]
  26. val podManagementPolicy: Option[String]
  27. def productElementNames: Iterator[String]
    Definition Classes
    Product
  28. val replicas: Option[Int]
  29. val revisionHistoryLimit: Option[Int]
  30. val selector: LabelSelector
  31. val serviceName: String
  32. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  33. val template: PodTemplateSpec
  34. val updateStrategy: Option[StatefulSetUpdateStrategy]
  35. val volumeClaimTemplates: Option[Seq[PersistentVolumeClaim]]
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  39. def withMinReadySeconds(value: Int): StatefulSetSpec

    Returns a new data with minReadySeconds set to new value

  40. def withPersistentVolumeClaimRetentionPolicy(value: StatefulSetPersistentVolumeClaimRetentionPolicy): StatefulSetSpec

    Returns a new data with persistentVolumeClaimRetentionPolicy set to new value

  41. def withPodManagementPolicy(value: String): StatefulSetSpec

    Returns a new data with podManagementPolicy set to new value

  42. def withReplicas(value: Int): StatefulSetSpec

    Returns a new data with replicas set to new value

  43. def withRevisionHistoryLimit(value: Int): StatefulSetSpec

    Returns a new data with revisionHistoryLimit set to new value

  44. def withSelector(value: LabelSelector): StatefulSetSpec

    Returns a new data with selector set to new value

  45. def withServiceName(value: String): StatefulSetSpec

    Returns a new data with serviceName set to new value

  46. def withTemplate(value: PodTemplateSpec): StatefulSetSpec

    Returns a new data with template set to new value

  47. def withUpdateStrategy(value: StatefulSetUpdateStrategy): StatefulSetSpec

    Returns a new data with updateStrategy set to new value

  48. def withVolumeClaimTemplates(value: Seq[PersistentVolumeClaim]): StatefulSetSpec

    Returns a new data with volumeClaimTemplates set to new value

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped