PodDNSConfig

io.k8s.api.core.v1.PodDNSConfig
See thePodDNSConfig companion object
final case class PodDNSConfig(nameservers: Option[Seq[String]], options: Option[Seq[PodDNSConfigOption]], searches: Option[Seq[String]])

PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.

Attributes

Companion
object
Source
PodDNSConfig.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addNameservers(newValues: String*): PodDNSConfig

Appends new values to nameservers

Appends new values to nameservers

Attributes

Source
PodDNSConfig.scala

Appends new values to options

Appends new values to options

Attributes

Source
PodDNSConfig.scala
def addSearches(newValues: String*): PodDNSConfig

Appends new values to searches

Appends new values to searches

Attributes

Source
PodDNSConfig.scala
def mapNameservers(f: (Seq[String]) => Seq[String]): PodDNSConfig

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

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

Attributes

Source
PodDNSConfig.scala

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

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

Attributes

Source
PodDNSConfig.scala
def mapSearches(f: (Seq[String]) => Seq[String]): PodDNSConfig

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

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

Attributes

Source
PodDNSConfig.scala
def withNameservers(value: Seq[String]): PodDNSConfig

Returns a new data with nameservers set to new value

Returns a new data with nameservers set to new value

Attributes

Source
PodDNSConfig.scala

Returns a new data with options set to new value

Returns a new data with options set to new value

Attributes

Source
PodDNSConfig.scala
def withSearches(value: Seq[String]): PodDNSConfig

Returns a new data with searches set to new value

Returns a new data with searches set to new value

Attributes

Source
PodDNSConfig.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product