Packages

c

io.k8s.api.core.v1

EndpointSubset

final case class EndpointSubset(addresses: Option[Seq[EndpointAddress]] = None, notReadyAddresses: Option[Seq[EndpointAddress]] = None, ports: Option[Seq[EndpointPort]] = None) extends Product with Serializable

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 ]

Source
EndpointSubset.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EndpointSubset
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EndpointSubset(addresses: Option[Seq[EndpointAddress]] = None, notReadyAddresses: Option[Seq[EndpointAddress]] = None, ports: Option[Seq[EndpointPort]] = None)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAddresses(newValues: EndpointAddress*): EndpointSubset
  5. def addNotReadyAddresses(newValues: EndpointAddress*): EndpointSubset
  6. def addPorts(newValues: EndpointPort*): EndpointSubset
  7. val addresses: Option[Seq[EndpointAddress]]
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. val notReadyAddresses: Option[Seq[EndpointAddress]]
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. val ports: Option[Seq[EndpointPort]]
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  23. def withAddresses(value: Seq[EndpointAddress]): EndpointSubset
  24. def withNotReadyAddresses(value: Seq[EndpointAddress]): EndpointSubset
  25. def withPorts(value: Seq[EndpointPort]): EndpointSubset

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped