class Pyrite::Api::Extensions::V1beta1::NetworkPolicyEgressRule
Overview
DEPRECATED 1.9 - This group version of NetworkPolicyEgressRule is deprecated by [networking/v1/NetworkPolicyEgressRule. NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8](networking/v1/NetworkPolicyEgressRule. NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8)
Defined in:
versions/v1.14/api/extensions/v1beta1/network_policy_egress_rule.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
DEPRECATED 1.9 - This group version of NetworkPolicyEgressRule is deprecated by [networking/v1/NetworkPolicyEgressRule.
-
.new(pull : JSON::PullParser)
DEPRECATED 1.9 - This group version of NetworkPolicyEgressRule is deprecated by [networking/v1/NetworkPolicyEgressRule.
- .new(*, ports : Array? = nil, to : Array? = nil)
Instance Method Summary
- #ports : Array(Api::Extensions::V1beta1::NetworkPolicyPort)?
- #ports=(ports : Array(Api::Extensions::V1beta1::NetworkPolicyPort)?)
- #to : Array(Api::Extensions::V1beta1::NetworkPolicyPeer)?
- #to=(to : Array(Api::Extensions::V1beta1::NetworkPolicyPeer)?)
Constructor methods inherited from class Pyrite::Kubernetes::Spec
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Constructor Detail
DEPRECATED 1.9 - This group version of NetworkPolicyEgressRule is deprecated by [networking/v1/NetworkPolicyEgressRule. NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8](networking/v1/NetworkPolicyEgressRule. NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8)
DEPRECATED 1.9 - This group version of NetworkPolicyEgressRule is deprecated by [networking/v1/NetworkPolicyEgressRule. NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8](networking/v1/NetworkPolicyEgressRule. NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8)