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
Ordering
- Alphabetic
- By Inheritance
Inherited
- HostAlias
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
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
-
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.
- val hostnames: Optional[Vector[String]]
- val ip: Optional[String]