NodeSelectorTerm class
A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.
Constructors
-
NodeSelectorTerm({List<
NodeSelectorRequirement> ? matchExpressions, List<NodeSelectorRequirement> ? matchFields}) -
Default constructor.
const
-
NodeSelectorTerm.fromJson(Map<
String, dynamic> json) -
Creates a NodeSelectorTerm from JSON data.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
matchExpressions
→ List<
NodeSelectorRequirement> ? -
A list of node selector requirements by node's labels.
final
-
matchFields
→ List<
NodeSelectorRequirement> ? -
A list of node selector requirements by node's fields.
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
-
toJson(
) → Map< String, Object> - Converts a NodeSelectorTerm instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited