class Pyrite::Api::Core::V1::ServiceSpec

Overview

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

Defined in:

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

Constructors

Instance Method Summary

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) #

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


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

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


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) #

Instance Method Detail

def cluster_ip : String? #

def cluster_ip=(cluster_ip : String?) #

def external_ips : Array(String)? #

def external_ips=(external_ips : Array(String)?) #

def external_name : String? #

def external_name=(external_name : String?) #

def external_traffic_policy : String? #

def external_traffic_policy=(external_traffic_policy : String?) #

def health_check_node_port : Int32? #

def health_check_node_port=(health_check_node_port : Int32?) #

def load_balancer_ip : String? #

def load_balancer_ip=(load_balancer_ip : String?) #

def load_balancer_source_ranges : Array(String)? #

def load_balancer_source_ranges=(load_balancer_source_ranges : Array(String)?) #

def ports : Array(Api::Core::V1::ServicePort)? #

def ports=(ports : Array(Api::Core::V1::ServicePort)?) #

def publish_not_ready_addresses : Bool? #

def publish_not_ready_addresses=(publish_not_ready_addresses : Bool?) #

def selector : Hash(String, String)? #

def selector=(selector : Hash(String, String)?) #

def session_affinity : String? #

def session_affinity=(session_affinity : String?) #

def session_affinity_config : Api::Core::V1::SessionAffinityConfig? #

def session_affinity_config=(session_affinity_config : Api::Core::V1::SessionAffinityConfig?) #

def type : String? #

def type=(type : String?) #