class Pyrite::Api::Extensions::V1beta1::NetworkPolicyIngressRule
Overview
DEPRECATED 1.9 - This group version of NetworkPolicyIngressRule is deprecated by [networking/v1/NetworkPolicyIngressRule. This NetworkPolicyIngressRule matches traffic if and only if the traffic matches both ports AND from.](networking/v1/NetworkPolicyIngressRule. This NetworkPolicyIngressRule matches traffic if and only if the traffic matches both ports AND from.)
Defined in:
versions/v1.14/api/extensions/v1beta1/network_policy_ingress_rule.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
DEPRECATED 1.9 - This group version of NetworkPolicyIngressRule is deprecated by [networking/v1/NetworkPolicyIngressRule.
-
.new(pull : JSON::PullParser)
DEPRECATED 1.9 - This group version of NetworkPolicyIngressRule is deprecated by [networking/v1/NetworkPolicyIngressRule.
- .new(*, from : Array? = nil, ports : Array? = nil)
Instance Method Summary
- #from : Array(Api::Extensions::V1beta1::NetworkPolicyPeer)?
- #from=(from : Array(Api::Extensions::V1beta1::NetworkPolicyPeer)?)
- #ports : Array(Api::Extensions::V1beta1::NetworkPolicyPort)?
- #ports=(ports : Array(Api::Extensions::V1beta1::NetworkPolicyPort)?)
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 NetworkPolicyIngressRule is deprecated by [networking/v1/NetworkPolicyIngressRule. This NetworkPolicyIngressRule matches traffic if and only if the traffic matches both ports AND from.](networking/v1/NetworkPolicyIngressRule. This NetworkPolicyIngressRule matches traffic if and only if the traffic matches both ports AND from.)
DEPRECATED 1.9 - This group version of NetworkPolicyIngressRule is deprecated by [networking/v1/NetworkPolicyIngressRule. This NetworkPolicyIngressRule matches traffic if and only if the traffic matches both ports AND from.](networking/v1/NetworkPolicyIngressRule. This NetworkPolicyIngressRule matches traffic if and only if the traffic matches both ports AND from.)