class K8S::Api::Networking::V1::NetworkPolicyPeer

Overview

NetworkPolicyPeer describes a peer to allow traffic [to/from. Only certain combinations of fields are allowed](to/from. Only certain combinations of fields are allowed)

Included Modules

Defined in:

versions/v1.19/api/networking/v1/network_policy_peer.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(*, ip_block : Api::Networking::V1::IPBlock? = nil, namespace_selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil, pod_selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil) #

[View source]

Instance Method Detail


[View source]
def ip_block=(ip_block : Api::Networking::V1::IPBlock?) #

[View source]

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

[View source]

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

[View source]