class K8S::Api::Extensions::V1beta1::NetworkPolicyIngressRule
- K8S::Api::Extensions::V1beta1::NetworkPolicyIngressRule
- Reference
- Object
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.)
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.16/api/extensions/v1beta1/network_policy_ingress_rule.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .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)?)