class Pyrite::Api::Extensions::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. Deprecated: use HostPortRange from policy API Group instead.

Defined in:

versions/v1.14/api/extensions/v1beta1/host_port_range.cr

Constructors

Instance Method Summary

Constructor methods inherited from class Pyrite::Kubernetes::Spec

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new

Constructor Detail

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

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. Deprecated: use HostPortRange from policy API Group instead.


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

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. Deprecated: use HostPortRange from policy API Group instead.


def self.new(*, max : Int32, min : Int32) #

Instance Method Detail

def max : Int32 #

def max=(max : Int32) #

def min : Int32 #

def min=(min : Int32) #