Packages

case class HostAlias(hostnames: Optional[Vector[String]] = Optional.Absent, ip: Optional[String] = Optional.Absent) extends Product with Serializable

HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.

hostnames

Hostnames for the above IP address.

ip

IP address of the host file entry.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HostAlias
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HostAlias(hostnames: Optional[Vector[String]] = Optional.Absent, ip: Optional[String] = Optional.Absent)

    hostnames

    Hostnames for the above IP address.

    ip

    IP address of the host file entry.

Value Members

  1. def getHostnames: IO[K8sFailure, Vector[String]]

    Hostnames for the above IP address.

    Hostnames for the above IP address.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  2. def getIp: IO[K8sFailure, String]

    IP address of the host file entry.

    IP address of the host file entry.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  3. val hostnames: Optional[Vector[String]]
  4. val ip: Optional[String]