class K8S::Api::Discovery::V1::EndpointSlice

Overview

EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.

Included Modules

Defined in:

versions/v1.21/api/discovery/v1/endpoint_slice.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from module K8S::Kubernetes::Resource::Object

api_version : String api_version, kind : String kind, metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? metadata, metadata! : Apimachinery::Apis::Meta::V1::ObjectMeta metadata!

Instance methods inherited from class K8S::Kubernetes::Resource

api_version : String api_version, kind : String kind

Constructor methods inherited from class K8S::Kubernetes::Resource

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new

Class methods inherited from class K8S::Kubernetes::Resource

from_file(file) from_file

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, address_type : String, endpoints : Array? = nil, metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? = nil, ports : Array? = nil) #

[View source]

Class Method Detail

def self.from_h(hash) #

[View source]

Instance Method Detail

def address_type : String #

[View source]
def address_type=(address_type : String) #

[View source]
def api_version : String #

[View source]
def endpoints : Array(Api::Discovery::V1::Endpoint)? #

[View source]
def endpoints=(endpoints : Array(Api::Discovery::V1::Endpoint)?) #

[View source]
def kind : String #

[View source]
def merge(other) #

[View source]

[View source]
def metadata=(metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?) #

[View source]
def ports : Array(Api::Discovery::V1::EndpointPort)? #

[View source]
def ports=(ports : Array(Api::Discovery::V1::EndpointPort)?) #

[View source]
def to_h #

[View source]