Endpoint

io.k8s.api.discovery.v1.Endpoint
See theEndpoint companion object
final case class Endpoint(addresses: Seq[String], conditions: Option[EndpointConditions], targetRef: Option[ObjectReference], hostname: Option[String], nodeName: Option[String], hints: Option[EndpointHints], deprecatedTopology: Option[Map[String, String]], zone: Option[String])

Endpoint represents a single logical "backend" implementing a service.

Attributes

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

Members list

Value members

Concrete methods

def addAddresses(newValues: String*): Endpoint

Appends new values to addresses

Appends new values to addresses

Attributes

Source
Endpoint.scala
def addDeprecatedTopology(newValues: (String, String)*): Endpoint

Adds new values to deprecatedTopology

Adds new values to deprecatedTopology

Attributes

Source
Endpoint.scala
def mapAddresses(f: Seq[String] => Seq[String]): Endpoint

transforms addresses to result of function

transforms addresses to result of function

Attributes

Source
Endpoint.scala

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

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

Attributes

Source
Endpoint.scala
def mapDeprecatedTopology(f: Map[String, String] => Map[String, String]): Endpoint

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

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

Attributes

Source
Endpoint.scala

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

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

Attributes

Source
Endpoint.scala
def mapHostname(f: String => String): Endpoint

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

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

Attributes

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

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

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

Attributes

Source
Endpoint.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
Endpoint.scala
def mapZone(f: String => String): Endpoint

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

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

Attributes

Source
Endpoint.scala
def withAddresses(value: Seq[String]): Endpoint

Returns a new data with addresses set to new value

Returns a new data with addresses set to new value

Attributes

Source
Endpoint.scala

Returns a new data with conditions set to new value

Returns a new data with conditions set to new value

Attributes

Source
Endpoint.scala
def withDeprecatedTopology(value: Map[String, String]): Endpoint

Returns a new data with deprecatedTopology set to new value

Returns a new data with deprecatedTopology set to new value

Attributes

Source
Endpoint.scala

Returns a new data with hints set to new value

Returns a new data with hints set to new value

Attributes

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

Returns a new data with hostname set to new value

Returns a new data with hostname set to new value

Attributes

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

Returns a new data with nodeName set to new value

Returns a new data with nodeName set to new value

Attributes

Source
Endpoint.scala

Returns a new data with targetRef set to new value

Returns a new data with targetRef set to new value

Attributes

Source
Endpoint.scala
def withZone(value: String): Endpoint

Returns a new data with zone set to new value

Returns a new data with zone set to new value

Attributes

Source
Endpoint.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product