HostAlias

case class HostAlias(hostnames: Optional[Vector[String]], ip: Optional[String])

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

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

Value Params
hostnames

Hostnames for the above IP address.

ip

IP address of the host file entry.

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

Value members

Concrete methods

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.

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.

Inherited methods

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