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

Overview

ServicePort contains information on service's port.

Included Modules

Defined in:

versions/v1.11/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, name : String? = nil, node_port : Int32? = nil, protocol : String? = nil, target_port : Int32 | String | Nil = nil) #

[View source]

Instance Method Detail

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]