class K8S::Api::Extensions::V1beta1::NetworkPolicySpec

Overview

DEPRECATED 1.9 - This group version of NetworkPolicySpec is deprecated by networking/v1/NetworkPolicySpec.

Included Modules

Defined in:

versions/v1.15/api/extensions/v1beta1/network_policy_spec.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(*, pod_selector : Apimachinery::Apis::Meta::V1::LabelSelector, egress : Array(Api::Extensions::V1beta1::NetworkPolicyEgressRule)? = nil, ingress : Array(Api::Extensions::V1beta1::NetworkPolicyIngressRule)? = nil, policy_types : Array(String)? = nil) #

[View source]

Instance Method Detail


[View source]

[View source]

[View source]
def ingress=(ingress : Array(Api::Extensions::V1beta1::NetworkPolicyIngressRule)?) #

[View source]

[View source]
def pod_selector=(pod_selector : Apimachinery::Apis::Meta::V1::LabelSelector) #

[View source]
def policy_types : Array(String)? #

[View source]
def policy_types=(policy_types : Array(String)?) #

[View source]