case class PodTemplateSpec(metadata: Optional[ObjectMeta] = Optional.Absent, spec: Optional[PodSpec] = Optional.Absent) extends Product with Serializable
PodTemplateSpec describes the data a pod should have when created from a template
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PodTemplateSpec
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new PodTemplateSpec(metadata: Optional[ObjectMeta] = Optional.Absent, spec: Optional[PodSpec] = 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, PodSpec]
Gets spec.
Gets spec.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val metadata: Optional[ObjectMeta]
- val spec: Optional[PodSpec]