class K8S::Api::Core::V1::ServiceSpec

Overview

ServiceSpec describes the attributes that a user creates on a service.

Included Modules

Defined in:

versions/v1.15/api/core/v1/service_spec.cr

Constructors

Instance Method Summary

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(*, cluster_ip : String? = nil, external_ips : Array? = nil, external_name : String? = nil, external_traffic_policy : String? = nil, health_check_node_port : Int32? = nil, load_balancer_ip : String? = nil, load_balancer_source_ranges : Array? = nil, ports : Array? = nil, publish_not_ready_addresses : Bool? = nil, selector : Hash(String, String)? = nil, session_affinity : String? = nil, session_affinity_config : Api::Core::V1::SessionAffinityConfig? = nil, type : String? = nil) #

[View source]

Instance Method Detail

def cluster_ip : String? #

[View source]
def cluster_ip=(cluster_ip : String?) #

[View source]
def external_ips : Array(String)? #

[View source]
def external_ips=(external_ips : Array(String)?) #

[View source]
def external_name : String? #

[View source]
def external_name=(external_name : String?) #

[View source]
def external_traffic_policy : String? #

[View source]
def external_traffic_policy=(external_traffic_policy : String?) #

[View source]
def health_check_node_port : Int32? #

[View source]
def health_check_node_port=(health_check_node_port : Int32?) #

[View source]
def load_balancer_ip : String? #

[View source]
def load_balancer_ip=(load_balancer_ip : String?) #

[View source]
def load_balancer_source_ranges : Array(String)? #

[View source]
def load_balancer_source_ranges=(load_balancer_source_ranges : Array(String)?) #

[View source]
def ports : Array(Api::Core::V1::ServicePort)? #

[View source]
def ports=(ports : Array(Api::Core::V1::ServicePort)?) #

[View source]
def publish_not_ready_addresses : Bool? #

[View source]
def publish_not_ready_addresses=(publish_not_ready_addresses : Bool?) #

[View source]
def selector : Hash(String, String)? #

[View source]
def selector=(selector : Hash(String, String)?) #

[View source]
def session_affinity : String? #

[View source]
def session_affinity=(session_affinity : String?) #

[View source]
def session_affinity_config : Api::Core::V1::SessionAffinityConfig? #

[View source]
def session_affinity_config=(session_affinity_config : Api::Core::V1::SessionAffinityConfig?) #

[View source]
def type : String? #

[View source]
def type=(type : String?) #

[View source]