Endpoints

io.k8s.api.core.v1.Endpoints
See theEndpoints companion object
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}] }, ]

Attributes

Companion
object
Source
Endpoints.scala
Graph
Supertypes
trait KObject
trait Product
trait Equals
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addSubsets(newValues: EndpointSubset*): Endpoints

Appends new values to subsets

Appends new values to subsets

Attributes

Source
Endpoints.scala
override def foldTo[T : Builder]: T

Attributes

Definition Classes
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

Attributes

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

Attributes

Source
Endpoints.scala

Returns a new data with metadata set to new value

Returns a new data with metadata set to new value

Attributes

Source
Endpoints.scala

Returns a new data with subsets set to new value

Returns a new data with subsets set to new value

Attributes

Source
Endpoints.scala

Inherited methods

final def group: String

Attributes

Inherited from:
KObject
Source
ResourceKind.scala
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Inherited fields

final lazy val apiVersion: String

Attributes

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

Attributes

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

Attributes

Inherited from:
KObject
Source
ResourceKind.scala