Packages

c

io.k8s.api.discovery.v1

EndpointSlice

final case class EndpointSlice(endpoints: Seq[Endpoint], addressType: String, ports: Option[Seq[EndpointPort]] = None, metadata: Option[ObjectMeta] = None) extends KObject with Product with Serializable

EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.

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

Instance Constructors

  1. new EndpointSlice(endpoints: Seq[Endpoint], addressType: String, ports: Option[Seq[EndpointPort]] = None, metadata: Option[ObjectMeta] = 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. val _resourceKind: ResourceKind
    Attributes
    protected
    Definition Classes
    EndpointSliceKObject
  5. def addEndpoints(newValues: Endpoint*): EndpointSlice

    Appends new values to endpoints

  6. def addPorts(newValues: EndpointPort*): EndpointSlice

    Appends new values to ports

  7. val addressType: String
  8. final lazy val apiVersion: String
    Definition Classes
    KObject
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  11. val endpoints: Seq[Endpoint]
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def group: String
    Definition Classes
    KObject
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final lazy val kind: String
    Definition Classes
    KObject
  18. def mapAddressType(f: (String) ⇒ String): EndpointSlice

    transforms addressType to result of function

  19. def mapEndpoints(f: (Seq[Endpoint]) ⇒ Seq[Endpoint]): EndpointSlice

    transforms endpoints to result of function

  20. def mapMetadata(f: (ObjectMeta) ⇒ ObjectMeta): EndpointSlice

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

  21. def mapPorts(f: (Seq[EndpointPort]) ⇒ Seq[EndpointPort]): EndpointSlice

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

  22. val metadata: Option[ObjectMeta]
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. val ports: Option[Seq[EndpointPort]]
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. final lazy val version: String
    Definition Classes
    KObject
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  32. def withAddressType(value: String): EndpointSlice

    Returns a new data with addressType set to new value

  33. def withEndpoints(value: Seq[Endpoint]): EndpointSlice

    Returns a new data with endpoints set to new value

  34. def withMetadata(value: ObjectMeta): EndpointSlice

    Returns a new data with metadata set to new value

  35. def withPorts(value: Seq[EndpointPort]): EndpointSlice

    Returns a new data with ports set to new value

Inherited from KObject

Inherited from Product

Inherited from Equals

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped