class Pyrite::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.
Defined in:
versions/v1.14/api/policy/v1beta1/host_port_range.crConstructors
-
.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.
-
.new(pull : JSON::PullParser)
HostPortRange defines a range of host ports that will be enabled by a policy for pods to use.
- .new(*, max : Int32, min : Int32)
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.
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.