class K8S::Api::Core::V1::ContainerPort

Overview

ContainerPort represents a network port in a single container.

Included Modules

Defined in:

versions/v1.16/api/core/v1/container_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(*, container_port : Int32, host_ip : String? = nil, host_port : Int32? = nil, name : String? = nil, protocol : String? = nil) #

[View source]

Instance Method Detail

def container_port : Int32 #

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

[View source]
def host_ip : String? #

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

[View source]
def host_port : Int32? #

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

[View source]
def name : String? #

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

[View source]
def protocol : String? #

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

[View source]