EndpointAddress

io.k8s.api.core.v1.EndpointAddress
See theEndpointAddress companion object
final case class EndpointAddress(ip: String, hostname: Option[String], nodeName: Option[String], targetRef: Option[ObjectReference])

EndpointAddress is a tuple that describes single IP address.

Attributes

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

Members list

Value members

Concrete methods

def mapHostname(f: String => String): EndpointAddress

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

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

Attributes

Source
EndpointAddress.scala
def mapIp(f: String => String): EndpointAddress

transforms ip to result of function

transforms ip to result of function

Attributes

Source
EndpointAddress.scala
def mapNodeName(f: String => String): EndpointAddress

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

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

Attributes

Source
EndpointAddress.scala

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

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

Attributes

Source
EndpointAddress.scala
def withHostname(value: String): EndpointAddress

Returns a new data with hostname set to new value

Returns a new data with hostname set to new value

Attributes

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

Returns a new data with ip set to new value

Returns a new data with ip set to new value

Attributes

Source
EndpointAddress.scala
def withNodeName(value: String): EndpointAddress

Returns a new data with nodeName set to new value

Returns a new data with nodeName set to new value

Attributes

Source
EndpointAddress.scala

Returns a new data with targetRef set to new value

Returns a new data with targetRef set to new value

Attributes

Source
EndpointAddress.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product