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
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Endpoints
- KObject
- Product
- Equals
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Endpoints(metadata: Option[ObjectMeta] = None, subsets: Option[Seq[EndpointSubset]] = None)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val _resourceKind: ResourceKind
- def addSubsets(newValues: EndpointSubset*): Endpoints
Appends new values to subsets
- final lazy val apiVersion: String
- Definition Classes
- KObject
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def foldTo[T](implicit arg0: Builder[T]): T
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def group: String
- Definition Classes
- KObject
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final lazy val kind: String
- Definition Classes
- KObject
- def mapMetadata(f: (ObjectMeta) => ObjectMeta): Endpoints
if metadata has a value, transforms to the result of function
- def mapSubsets(f: (Seq[EndpointSubset]) => Seq[EndpointSubset]): Endpoints
if subsets has a value, transforms to the result of function
- val metadata: Option[ObjectMeta]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val subsets: Option[Seq[EndpointSubset]]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final lazy val version: String
- Definition Classes
- KObject
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withMetadata(value: ObjectMeta): Endpoints
Returns a new data with metadata set to new value
- def withSubsets(value: Seq[EndpointSubset]): Endpoints
Returns a new data with subsets set to new value