EndpointSubset

io.k8s.api.core.v1.EndpointSubset
See theEndpointSubset companion object
final case class EndpointSubset(addresses: Option[Seq[EndpointAddress]], notReadyAddresses: Option[Seq[EndpointAddress]], ports: Option[Seq[EndpointPort]])

EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:

{
  Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}],
  Ports:     [{"name": "a", "port": 8675}, {"name": "b", "port": 309}]
}

The resulting set of endpoints can be viewed as:

a: [ 10.10.1.1:8675, 10.10.2.2:8675 ],
b: [ 10.10.1.1:309, 10.10.2.2:309 ]

Attributes

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

Members list

Concise view

Value members

Concrete methods

Appends new values to addresses

Appends new values to addresses

Attributes

Source:
EndpointSubset.scala

Appends new values to notReadyAddresses

Appends new values to notReadyAddresses

Attributes

Source:
EndpointSubset.scala

Appends new values to ports

Appends new values to ports

Attributes

Source:
EndpointSubset.scala

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

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

Attributes

Source:
EndpointSubset.scala

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

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

Attributes

Source:
EndpointSubset.scala

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

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

Attributes

Source:
EndpointSubset.scala

Returns a new data with addresses set to new value

Returns a new data with addresses set to new value

Attributes

Source:
EndpointSubset.scala

Returns a new data with notReadyAddresses set to new value

Returns a new data with notReadyAddresses set to new value

Attributes

Source:
EndpointSubset.scala

Returns a new data with ports set to new value

Returns a new data with ports set to new value

Attributes

Source:
EndpointSubset.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product