MetadataLabelMatcherMetadataLabelMatchCriteria enum
Specifies how matching should be done. Supported values are: MATCH_ANY: At least one of the Labels specified in the matcher should match the metadata presented by xDS client. MATCH_ALL: The metadata presented by the xDS client should contain all of the labels specified here. The selection is determined based on the best match. For example, suppose there are three EndpointPolicy resources P1, P2 and P3 and if P1 has a the matcher as MATCH_ANY , P2 has MATCH_ALL , and P3 has MATCH_ALL . If a client with label connects, the config from P1 will be selected. If a client with label connects, the config from P2 will be selected. If a client with label connects, the config from P3 will be selected. If there is more than one best match, (for example, if a config P4 with selector exists and if a client with label connects), an error will be thrown.
Values
- metadataLabelMatchCriteriaUnspecified → const MetadataLabelMatcherMetadataLabelMatchCriteria
-
const MetadataLabelMatcherMetadataLabelMatchCriteria("METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED") - matchAny → const MetadataLabelMatcherMetadataLabelMatchCriteria
-
const MetadataLabelMatcherMetadataLabelMatchCriteria("MATCH_ANY") - matchAll → const MetadataLabelMatcherMetadataLabelMatchCriteria
-
const MetadataLabelMatcherMetadataLabelMatchCriteria("MATCH_ALL")
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wireValue → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
Constants
-
values
→ const List<
MetadataLabelMatcherMetadataLabelMatchCriteria> - A constant List of the values in this enum, in order of their declaration.