L4MatchAttributes class
L4 connection match attributes. Note that L4 connection matching support is incomplete.
Constructors
Properties
-
destinationSubnets
→ List<
String> ? -
IPv4 or IPv6 ip addresses of destination with optional subnet. E.g., a.b.c.d/xx form or just a.b.c.d.
final
-
gateways
→ List<
String> ? -
Names of gateways where the rule should be applied.
Gateway names in the top-level gateways field of the VirtualService (if any) are overridden.
The gateway match is independent of sourceLabels.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- port → int?
-
Specifies the port on the host that is being addressed.
Many services only expose a single port or label ports with the protocols they support,
in these cases it is not required to explicitly select the port.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sourceLabels
→ Map<
String, String> ? -
One or more labels that constrain the applicability of a rule to workloads with the given labels.
If the VirtualService has a list of gateways specified in the top-level gateways field,
it should include the reserved gateway mesh in order for this field to be applicable.
final
- sourceNamespace → String?
-
Source namespace constraining the applicability of a rule to workloads in that namespace.
If the VirtualService has a list of gateways specified in the top-level gateways field,
it must include the reserved gateway mesh for this field to be applicable.
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