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.11/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(Api::Extensions::V1beta1::NetworkPolicyPeer)? = nil, ports : Array(Api::Extensions::V1beta1::NetworkPolicyPort)? = nil) #

[View source]

Instance Method Detail


[View source]

[View source]

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

[View source]