case class StatefulSet(metadata: Optional[ObjectMeta] = Optional.Absent, spec: Optional[StatefulSetSpec] = Optional.Absent, status: Optional[StatefulSetStatus] = Optional.Absent) extends Product with Serializable
StatefulSet represents a set of pods with consistent identities. Identities are defined as: \- Network: A single stable DNS and hostname. \- Storage: As many VolumeClaims as requested. The StatefulSet guarantees that a given network identity will always map to the same storage identity.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- StatefulSet
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new StatefulSet(metadata: Optional[ObjectMeta] = Optional.Absent, spec: Optional[StatefulSetSpec] = Optional.Absent, status: Optional[StatefulSetStatus] = Optional.Absent)
Value Members
-
def
getMetadata: IO[K8sFailure, ObjectMeta]
Gets metadata.
Gets metadata.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getSpec: IO[K8sFailure, StatefulSetSpec]
Gets spec.
Gets spec.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getStatus: IO[K8sFailure, StatefulSetStatus]
Gets status.
Gets status.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val metadata: Optional[ObjectMeta]
- val spec: Optional[StatefulSetSpec]
- val status: Optional[StatefulSetStatus]