ContainerImage

case class ContainerImage(names: Vector[String], sizeBytes: Optional[Long])

Describe a container image

Describe a container image

Value Params
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.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def getNames: IO[K8sFailure, Vector[String]]

Names by which this image is known. e.g. ["k8s.gcr.io/hyperkube:v1.0.7", "dockerhub.io/google_containers/hyperkube:v1.0.7"]

Names by which this image is known. e.g. ["k8s.gcr.io/hyperkube:v1.0.7", "dockerhub.io/google_containers/hyperkube:v1.0.7"]

This effect always succeeds, it is safe to use the field names directly.

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.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product