class K8S::Api::Policy::V1beta1::HostPortRange

Overview

HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.

Included Modules

Defined in:

versions/v1.18/api/policy/v1beta1/host_port_range.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(*, max : Int32, min : Int32) #

[View source]

Instance Method Detail

def max : Int32 #

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

[View source]
def min : Int32 #

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

[View source]