HostAlias

final case class HostAlias(hostnames: Option[Seq[String]], ip: Option[String])

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

Source:
HostAlias.scala
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def addHostnames(newValues: String*): HostAlias

Appends new values to hostnames

Appends new values to hostnames

Source:
HostAlias.scala

if hostnames has a value, transforms to the result of function

if hostnames has a value, transforms to the result of function

Source:
HostAlias.scala

if ip has a value, transforms to the result of function

if ip has a value, transforms to the result of function

Source:
HostAlias.scala

Returns a new data with hostnames set to new value

Returns a new data with hostnames set to new value

Source:
HostAlias.scala
def withIp(value: String): HostAlias

Returns a new data with ip set to new value

Returns a new data with ip set to new value

Source:
HostAlias.scala

Inherited methods

Inherited from:
Product