class K8S::Api::Extensions::V1beta1::NetworkPolicyPeer
- K8S::Api::Extensions::V1beta1::NetworkPolicyPeer
- Reference
- Object
Overview
DEPRECATED 1.9 - This group version of NetworkPolicyPeer is deprecated by networking/v1/NetworkPolicyPeer.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.17/api/extensions/v1beta1/network_policy_peer.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, ip_block : Api::Extensions::V1beta1::IPBlock? = nil, namespace_selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil, pod_selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil)
Instance Method Summary
- #ip_block : Api::Extensions::V1beta1::IPBlock?
- #ip_block=(ip_block : Api::Extensions::V1beta1::IPBlock?)
- #namespace_selector : Apimachinery::Apis::Meta::V1::LabelSelector?
- #namespace_selector=(namespace_selector : Apimachinery::Apis::Meta::V1::LabelSelector?)
- #pod_selector : Apimachinery::Apis::Meta::V1::LabelSelector?
- #pod_selector=(pod_selector : Apimachinery::Apis::Meta::V1::LabelSelector?)
Constructor Detail
def self.new(*, ip_block : Api::Extensions::V1beta1::IPBlock? = nil, namespace_selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil, pod_selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil)
#
Instance Method Detail
def namespace_selector=(namespace_selector : Apimachinery::Apis::Meta::V1::LabelSelector?)
#