TopologySelectorTerm class
A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.
Constructors
-
TopologySelectorTerm({List<
TopologySelectorLabelRequirement> ? matchLabelExpressions}) -
Default constructor.
const
-
TopologySelectorTerm.fromJson(Map<
String, dynamic> json) -
Creates a TopologySelectorTerm from JSON data.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
matchLabelExpressions
→ List<
TopologySelectorLabelRequirement> ? -
A list of topology selector requirements by labels.
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 TopologySelectorTerm instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited