NetworkPolicyPeer class
DEPRECATED 1.9 - This group version of NetworkPolicyPeer is deprecated by networking/v1/NetworkPolicyPeer.
Constructors
-
NetworkPolicyPeer({Input<
IPBlock> ? ipBlock, Input<LabelSelector> ? namespaceSelector, Input<LabelSelector> ? podSelector}) -
Creates a new NetworkPolicyPeer.
ipBlockIPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be.namespaceSelectorSelects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.podSelectorThis is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods.const -
NetworkPolicyPeer.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
ipBlock
→ Input<
IPBlock> ? -
IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be.
final
-
namespaceSelector
→ Input<
LabelSelector> ? -
Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.
final
-
podSelector
→ Input<
LabelSelector> ? -
This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited