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
Value members
Concrete methods
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