class K8S::Api::Discovery::V1beta1::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.18/api/discovery/v1beta1/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, from_files(*paths) from_files

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(Api::Discovery::V1beta1::Endpoint)? = nil, metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? = nil, ports : Array(Api::Discovery::V1beta1::EndpointPort)? = 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::V1beta1::Endpoint)? #

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

[View source]
def kind : String #

[View source]
def merge(other) #

[View source]

Standard object's metadata.


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

Standard object's metadata.


[View source]

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

[View source]
def to_h #

[View source]