class K8S::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.)

Included Modules

Defined in:

versions/v1.15/api/extensions/v1beta1/network_policy_ingress_rule.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, from : Array? = nil, ports : Array? = nil) #

[View source]

Instance Method Detail


[View source]

[View source]

[View source]
def ports=(ports : Array(Api::Extensions::V1beta1::NetworkPolicyPort)?) #

[View source]