Packages

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. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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(classOf[java.lang.CloneNotSupportedException]) @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. def foldTo[T](implicit arg0: Builder[T]): T
    Definition Classes
    EndpointSliceKObject
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def group: String
    Definition Classes
    KObject
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final lazy val kind: String
    Definition Classes
    KObject
  19. def mapAddressType(f: (String) => String): EndpointSlice

    transforms addressType to result of function

  20. def mapEndpoints(f: (Seq[Endpoint]) => Seq[Endpoint]): EndpointSlice

    transforms endpoints to result of function

  21. def mapMetadata(f: (ObjectMeta) => ObjectMeta): EndpointSlice

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

  22. def mapPorts(f: (Seq[EndpointPort]) => Seq[EndpointPort]): EndpointSlice

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

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

    Returns a new data with addressType set to new value

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

    Returns a new data with endpoints set to new value

  36. def withMetadata(value: ObjectMeta): EndpointSlice

    Returns a new data with metadata set to new value

  37. 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 AnyRef

Inherited from Any

Ungrouped