class Pyrite::Api::Core::V1::Service

Overview

Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.

Defined in:

versions/v1.14/api/core/v1/service.cr

Constructors

Instance Method Summary

Instance methods inherited from class Pyrite::Kubernetes::Object

metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? metadata, metadata=(metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?) metadata=

Constructor methods inherited from class Pyrite::Kubernetes::Object

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

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

api_version : String api_version, kind : String kind

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

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

Constructor methods inherited from class Pyrite::Kubernetes::Spec

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

Constructor Detail

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

Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.


def self.new(pull : JSON::PullParser) #

Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.


def self.new(*, metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? = nil, spec : Api::Core::V1::ServiceSpec? = nil, status : Api::Core::V1::ServiceStatus? = nil) #

Instance Method Detail


def spec=(spec : Api::Core::V1::ServiceSpec?) #


def status=(status : Api::Core::V1::ServiceStatus?) #