TLSMatchAttributes class
TLS connection match attributes.
Constructors
-
TLSMatchAttributes({required List<
String> sniHosts, List<String> ? destinationSubnets, int? port, Map<String, String> ? sourceLabels, List<String> ? gateways, String? sourceNamespace}) -
The main constructor.
const
-
TLSMatchAttributes.fromJson(Map<
String, dynamic> json) - Creates a TLSMatchAttributes from JSON data.
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
-
sniHosts
→ List<
String> -
SNI (server name indicator) to match on. Wildcard prefixes can be used in the SNI value, e.g., *.com will match foo.example.com as well as example.com.
An SNI value must be a subset (i.e., fall within the domain) of the corresponding virtual serivce’s hosts.
final
-
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