NetworkPolicyPeerPatch class

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

Constructors

NetworkPolicyPeerPatch({Input<IPBlockPatch>? ipBlock, Input<LabelSelectorPatch>? namespaceSelector, Input<LabelSelectorPatch>? podSelector})
Creates a new NetworkPolicyPeerPatch. ipBlock IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. namespaceSelector Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. podSelector This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods.
const
NetworkPolicyPeerPatch.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
ipBlock → Input<IPBlockPatch>?
IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be.
final
namespaceSelector → Input<LabelSelectorPatch>?
Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.
final
podSelector → Input<LabelSelectorPatch>?
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