Packages

final case class Endpoints(metadata: Option[ObjectMeta] = None, subsets: Option[Seq[EndpointSubset]] = None) extends KObject with Product with Serializable

Endpoints is a collection of endpoints that implement the actual service. Example:

Name: "mysvc", Subsets: [ { Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] }, { Addresses: [{"ip": "10.10.3.3"}], Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}] }, ]

Source
Endpoints.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Endpoints
  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 Endpoints(metadata: Option[ObjectMeta] = None, subsets: Option[Seq[EndpointSubset]] = 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
    EndpointsKObject
  5. def addSubsets(newValues: EndpointSubset*): Endpoints

    Appends new values to subsets

  6. final lazy val apiVersion: String
    Definition Classes
    KObject
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def foldTo[T](implicit arg0: Builder[T]): T
    Definition Classes
    EndpointsKObject
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  12. final def group: String
    Definition Classes
    KObject
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final lazy val kind: String
    Definition Classes
    KObject
  15. def mapMetadata(f: (ObjectMeta) => ObjectMeta): Endpoints

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

  16. def mapSubsets(f: (Seq[EndpointSubset]) => Seq[EndpointSubset]): Endpoints

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

  17. val metadata: Option[ObjectMeta]
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  21. def productElementNames: Iterator[String]
    Definition Classes
    Product
  22. val subsets: Option[Seq[EndpointSubset]]
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. final lazy val version: String
    Definition Classes
    KObject
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. def withMetadata(value: ObjectMeta): Endpoints

    Returns a new data with metadata set to new value

  29. def withSubsets(value: Seq[EndpointSubset]): Endpoints

    Returns a new data with subsets set to new value

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from KObject

Inherited from Product

Inherited from Equals

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped