struct Kubernetes::Service::Port

Included Modules

Defined in:

kubernetes.cr

Constructors

Instance Method Summary

Macros inherited from module Kubernetes::Serializable

add_field(type, getter_type, key = nil, **args, &block) add_field, field(type, key = nil, **args, &block) field, field?(type, key = nil, **args, &block) field?

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

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

Instance Method Detail

def app_protocol : String | Nil #

def name : String #

def node_port : Int32 | Nil #

def port : Int32 #

def protocol : Protocol #

def target_port : Int32 | String | Nil #