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, ordinals: Option[StatefulSetOrdinals] = None, updateStrategy: Option[StatefulSetUpdateStrategy] = None) extends Product with Serializable
A StatefulSetSpec is the specification of a StatefulSet.
- Source
- StatefulSetSpec.scala
- Alphabetic
- By Inheritance
- StatefulSetSpec
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- 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, ordinals: Option[StatefulSetOrdinals] = None, updateStrategy: Option[StatefulSetUpdateStrategy] = None)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addVolumeClaimTemplates(newValues: PersistentVolumeClaim*): StatefulSetSpec
Appends new values to volumeClaimTemplates
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mapMinReadySeconds(f: (Int) ⇒ Int): StatefulSetSpec
if minReadySeconds has a value, transforms to the result of function
-
def
mapOrdinals(f: (StatefulSetOrdinals) ⇒ StatefulSetOrdinals): StatefulSetSpec
if ordinals has a value, transforms to the result of function
-
def
mapPersistentVolumeClaimRetentionPolicy(f: (StatefulSetPersistentVolumeClaimRetentionPolicy) ⇒ StatefulSetPersistentVolumeClaimRetentionPolicy): StatefulSetSpec
if persistentVolumeClaimRetentionPolicy has a value, transforms to the result of function
-
def
mapPodManagementPolicy(f: (String) ⇒ String): StatefulSetSpec
if podManagementPolicy has a value, transforms to the result of function
-
def
mapReplicas(f: (Int) ⇒ Int): StatefulSetSpec
if replicas has a value, transforms to the result of function
-
def
mapRevisionHistoryLimit(f: (Int) ⇒ Int): StatefulSetSpec
if revisionHistoryLimit has a value, transforms to the result of function
-
def
mapSelector(f: (LabelSelector) ⇒ LabelSelector): StatefulSetSpec
transforms selector to result of function
-
def
mapServiceName(f: (String) ⇒ String): StatefulSetSpec
transforms serviceName to result of function
-
def
mapTemplate(f: (PodTemplateSpec) ⇒ PodTemplateSpec): StatefulSetSpec
transforms template to result of function
-
def
mapUpdateStrategy(f: (StatefulSetUpdateStrategy) ⇒ StatefulSetUpdateStrategy): StatefulSetSpec
if updateStrategy has a value, transforms to the result of function
-
def
mapVolumeClaimTemplates(f: (Seq[PersistentVolumeClaim]) ⇒ Seq[PersistentVolumeClaim]): StatefulSetSpec
if volumeClaimTemplates has a value, transforms to the result of function
- val minReadySeconds: Option[Int]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val ordinals: Option[StatefulSetOrdinals]
- val persistentVolumeClaimRetentionPolicy: Option[StatefulSetPersistentVolumeClaimRetentionPolicy]
- val podManagementPolicy: Option[String]
- val replicas: Option[Int]
- val revisionHistoryLimit: Option[Int]
- val selector: LabelSelector
- val serviceName: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val template: PodTemplateSpec
- val updateStrategy: Option[StatefulSetUpdateStrategy]
- val volumeClaimTemplates: Option[Seq[PersistentVolumeClaim]]
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withMinReadySeconds(value: Int): StatefulSetSpec
Returns a new data with minReadySeconds set to new value
-
def
withOrdinals(value: StatefulSetOrdinals): StatefulSetSpec
Returns a new data with ordinals set to new value
-
def
withPersistentVolumeClaimRetentionPolicy(value: StatefulSetPersistentVolumeClaimRetentionPolicy): StatefulSetSpec
Returns a new data with persistentVolumeClaimRetentionPolicy set to new value
-
def
withPodManagementPolicy(value: String): StatefulSetSpec
Returns a new data with podManagementPolicy set to new value
-
def
withReplicas(value: Int): StatefulSetSpec
Returns a new data with replicas set to new value
-
def
withRevisionHistoryLimit(value: Int): StatefulSetSpec
Returns a new data with revisionHistoryLimit set to new value
-
def
withSelector(value: LabelSelector): StatefulSetSpec
Returns a new data with selector set to new value
-
def
withServiceName(value: String): StatefulSetSpec
Returns a new data with serviceName set to new value
-
def
withTemplate(value: PodTemplateSpec): StatefulSetSpec
Returns a new data with template set to new value
-
def
withUpdateStrategy(value: StatefulSetUpdateStrategy): StatefulSetSpec
Returns a new data with updateStrategy set to new value
-
def
withVolumeClaimTemplates(value: Seq[PersistentVolumeClaim]): StatefulSetSpec
Returns a new data with volumeClaimTemplates set to new value