public static interface V1Networking.NetworkPolicyPeerOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
V1Networking.IPBlock |
getIpBlock()
IPBlock defines policy on a particular IPBlock.
|
V1Networking.IPBlockOrBuilder |
getIpBlockOrBuilder()
IPBlock defines policy on a particular IPBlock.
|
Meta.LabelSelector |
getNamespaceSelector()
Selects Namespaces using cluster-scoped labels.
|
Meta.LabelSelectorOrBuilder |
getNamespaceSelectorOrBuilder()
Selects Namespaces using cluster-scoped labels.
|
Meta.LabelSelector |
getPodSelector()
This is a label selector which selects Pods.
|
Meta.LabelSelectorOrBuilder |
getPodSelectorOrBuilder()
This is a label selector which selects Pods.
|
boolean |
hasIpBlock()
IPBlock defines policy on a particular IPBlock.
|
boolean |
hasNamespaceSelector()
Selects Namespaces using cluster-scoped labels.
|
boolean |
hasPodSelector()
This is a label selector which selects Pods.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasPodSelector()
This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector podSelector = 1;
Meta.LabelSelector getPodSelector()
This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector podSelector = 1;
Meta.LabelSelectorOrBuilder getPodSelectorOrBuilder()
This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector podSelector = 1;
boolean hasNamespaceSelector()
Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector namespaceSelector = 2;
Meta.LabelSelector getNamespaceSelector()
Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector namespaceSelector = 2;
Meta.LabelSelectorOrBuilder getNamespaceSelectorOrBuilder()
Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector namespaceSelector = 2;
boolean hasIpBlock()
IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. +optional
optional .k8s.io.api.networking.v1.IPBlock ipBlock = 3;V1Networking.IPBlock getIpBlock()
IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. +optional
optional .k8s.io.api.networking.v1.IPBlock ipBlock = 3;V1Networking.IPBlockOrBuilder getIpBlockOrBuilder()
IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. +optional
optional .k8s.io.api.networking.v1.IPBlock ipBlock = 3;Copyright © 2021. All rights reserved.