case class Pod(metadata: Optional[ObjectMeta] = Optional.Absent, spec: Optional[PodSpec] = Optional.Absent, status: Optional[PodStatus] = Optional.Absent) extends Product with Serializable
Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Pod
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Pod(metadata: Optional[ObjectMeta] = Optional.Absent, spec: Optional[PodSpec] = Optional.Absent, status: Optional[PodStatus] = 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.
-
def
getStatus: IO[K8sFailure, PodStatus]
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[PodSpec]
- val status: Optional[PodStatus]