class K8S::Api::Core::V1::EndpointPort

Overview

EndpointPort is a tuple that describes a single port.

Included Modules

Defined in:

versions/v1.15/api/core/v1/endpoint_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, protocol : String? = nil) #

[View source]

Instance Method Detail

def name : String? #

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

[View source]
def port : Int32 #

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

[View source]
def protocol : String? #

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

[View source]