Endpoints

final case class Endpoints(metadata: Option[ObjectMeta], subsets: Option[Seq[EndpointSubset]]) extends KObject

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
trait KObject
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

Appends new values to subsets

Appends new values to subsets

Source:
Endpoints.scala

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

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

Source:
Endpoints.scala

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

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

Source:
Endpoints.scala

Returns a new data with metadata set to new value

Returns a new data with metadata set to new value

Source:
Endpoints.scala

Returns a new data with subsets set to new value

Returns a new data with subsets set to new value

Source:
Endpoints.scala

Inherited methods

final def group: String
Inherited from:
KObject
Source:
ResourceKind.scala
Inherited from:
Product

Inherited fields

final lazy val apiVersion: String
Inherited from:
KObject
Source:
ResourceKind.scala
final lazy val kind: String
Inherited from:
KObject
Source:
ResourceKind.scala
final lazy val version: String
Inherited from:
KObject
Source:
ResourceKind.scala