case class ContainerImage(names: Optional[Vector[String]] = Optional.Absent, sizeBytes: Optional[Long] = Optional.Absent) extends Product with Serializable
Describe a container image
- names
Names by which this image is known. e.g. ["k8s.gcr.io/hyperkube:v1.0.7", "dockerhub.io/google_containers/hyperkube:v1.0.7"]
- sizeBytes
The size of the image in bytes.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ContainerImage
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
ContainerImage(names: Optional[Vector[String]] = Optional.Absent, sizeBytes: Optional[Long] = Optional.Absent)
- names
Names by which this image is known. e.g. ["k8s.gcr.io/hyperkube:v1.0.7", "dockerhub.io/google_containers/hyperkube:v1.0.7"]
- sizeBytes
The size of the image in bytes.
Value Members
-
def
getNames: IO[K8sFailure, Vector[String]]
Names by which this image is known.
Names by which this image is known. e.g. ["k8s.gcr.io/hyperkube:v1.0.7", "dockerhub.io/google_containers/hyperkube:v1.0.7"]
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getSizeBytes: IO[K8sFailure, Long]
The size of the image in bytes.
The size of the image in bytes.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val names: Optional[Vector[String]]
- val sizeBytes: Optional[Long]