TCPRoute class

Describes match conditions and actions for routing TCP traffic. The following routing rule forwards traffic arriving at port 27017 for mongo.prod.svc.cluster.local to another Mongo server on port 5555.

Constructors

TCPRoute({List<L4MatchAttributes>? match, List<RouteDestination>? route})
The main constructor.
const
TCPRoute.fromJson(Map<String, dynamic> json)
Creates a TCPRoute from JSON data.

Properties

hashCode int
The hash code for this object.
no setterinherited
match List<L4MatchAttributes>?
Match conditions to be satisfied for the rule to be activated. All conditions inside a single match block have AND semantics, while the list of match blocks have OR semantics. The rule is matched if any one of the match blocks succeed.
final
route List<RouteDestination>?
The destination to which the connection should be forwarded to.
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
toString() String
A string representation of this object.
inherited

Operators

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