class K8S::Api::Core::V1::ServicePort

Overview

ServicePort contains information on service's port.

Included Modules

Defined in:

versions/v1.22/api/core/v1/service_port.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(*, port : Int32, app_protocol : String? = nil, name : String? = nil, node_port : Int32? = nil, protocol : String? = nil, target_port : Int32 | String | Nil = nil) #

[View source]

Instance Method Detail

def app_protocol : String? #

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

[View source]
def name : String? #

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

[View source]
def node_port : Int32? #

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

[View source]
def port : Int32 #

[View source]
def port=(port : Int32) #

[View source]
def protocol : String? #

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

[View source]
def target_port : Int32 | String | Nil #

[View source]
def target_port=(target_port : Int32 | String | Nil) #

[View source]