class Pyrite::Api::Networking::V1::NetworkPolicyPort
Overview
NetworkPolicyPort describes a port to allow traffic on
Defined in:
versions/v1.14/api/networking/v1/network_policy_port.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
NetworkPolicyPort describes a port to allow traffic on
-
.new(pull : JSON::PullParser)
NetworkPolicyPort describes a port to allow traffic on
- .new(*, port : Int32 | String | Nil = nil, protocol : String? = nil)
Instance Method Summary
- #port : Int32 | String | Nil
- #port=(port : Int32 | String | Nil)
- #protocol : String?
- #protocol=(protocol : String?)
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)
#
NetworkPolicyPort describes a port to allow traffic on