EndpointSlice

io.k8s.api.discovery.v1.EndpointSlice
See theEndpointSlice companion object
final case class EndpointSlice(endpoints: Seq[Endpoint], addressType: String, ports: Option[Seq[EndpointPort]], metadata: Option[ObjectMeta]) extends KObject

EndpointSlice represents a set of service endpoints. Most EndpointSlices are created by the EndpointSlice controller to represent the Pods selected by Service objects. For a given service there may be multiple EndpointSlice objects which must be joined to produce the full set of endpoints; you can find all of the slices for a given service by listing EndpointSlices in the service's namespace whose kubernetes.io/service-name label contains the service's name.

Attributes

Companion
object
Source
EndpointSlice.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 addEndpoints(newValues: Endpoint*): EndpointSlice

Appends new values to endpoints

Appends new values to endpoints

Attributes

Source
EndpointSlice.scala
def addPorts(newValues: EndpointPort*): EndpointSlice

Appends new values to ports

Appends new values to ports

Attributes

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

Attributes

Definition Classes
Source
EndpointSlice.scala

transforms addressType to result of function

transforms addressType to result of function

Attributes

Source
EndpointSlice.scala

transforms endpoints to result of function

transforms endpoints to result of function

Attributes

Source
EndpointSlice.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
EndpointSlice.scala

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

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

Attributes

Source
EndpointSlice.scala

Returns a new data with addressType set to new value

Returns a new data with addressType set to new value

Attributes

Source
EndpointSlice.scala

Returns a new data with endpoints set to new value

Returns a new data with endpoints set to new value

Attributes

Source
EndpointSlice.scala

Returns a new data with metadata set to new value

Returns a new data with metadata set to new value

Attributes

Source
EndpointSlice.scala

Returns a new data with ports set to new value

Returns a new data with ports set to new value

Attributes

Source
EndpointSlice.scala

Inherited methods

final def group: String

Attributes

Inherited from:
KObject
Source
ResourceKind.scala

Attributes

Inherited from:
Product

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