TopologySelectorLabelRequirement class

A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.

Constructors

TopologySelectorLabelRequirement({required String key, required List<String> values})
The main constructor.
const
TopologySelectorLabelRequirement.fromJson(Map<String, dynamic> json)
Creates a TopologySelectorLabelRequirement from JSON data.

Properties

hashCode int
The hash code for this object.
no setterinherited
key String
The label key that the selector applies to.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values List<String>
An array of string values. One value must match the label to be selected. Each entry in Values is ORed.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a TopologySelectorLabelRequirement instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

listFromJson(Iterable<Map<String, dynamic>> list) List<TopologySelectorLabelRequirement>
Creates a list of TopologySelectorLabelRequirement from JSON data.