case class PodTemplate(metadata: Optional[ObjectMeta] = Optional.Absent, template: Optional[PodTemplateSpec] = Optional.Absent) extends Product with Serializable
PodTemplate describes a template for creating copies of a predefined pod.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PodTemplate
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new PodTemplate(metadata: Optional[ObjectMeta] = Optional.Absent, template: Optional[PodTemplateSpec] = 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
getTemplate: IO[K8sFailure, PodTemplateSpec]
Gets template.
Gets template.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val metadata: Optional[ObjectMeta]
- val template: Optional[PodTemplateSpec]