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

Included Modules

Defined in:

versions/v1.14/api/extensions/v1beta1/network_policy_egress_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(*, ports : Array? = nil, to : Array? = nil) #

[View source]

Instance Method Detail


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

[View source]

[View source]

[View source]