HostAlias

io.k8s.api.core.v1.HostAlias
See theHostAlias companion object
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.

Attributes

Companion:
object
Source:
HostAlias.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def addHostnames(newValues: String*): HostAlias

Appends new values to hostnames

Appends new values to hostnames

Attributes

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

Attributes

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

Attributes

Source:
HostAlias.scala

Returns a new data with hostnames set to new value

Returns a new data with hostnames set to new value

Attributes

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

Attributes

Source:
HostAlias.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product