RouteSpec class

Constructors

RouteSpec({Input<RouteSpecGrpcRoute?>? grpcRoute, Input<RouteSpecHttp2Route?>? http2Route, Input<RouteSpecHttpRoute?>? httpRoute, Input<int?>? priority, Input<RouteSpecTcpRoute?>? tcpRoute})
Creates a new RouteSpec. grpcRoute GRPC routing information for the route. See spec.grpc_route Block for details. http2Route HTTP/2 routing information for the route. See spec.http2_route Block for details. httpRoute HTTP routing information for the route. See spec.http_route Block for details. priority Priority for the route, between 0 and 1000. Routes are matched based on the specified value, where 0 is the highest priority. tcpRoute TCP routing information for the route. See spec.tcp_route Block for details.
const
RouteSpec.fromMap(Map<String, dynamic> map)
factory

Properties

grpcRoute → Input<RouteSpecGrpcRoute?>?
GRPC routing information for the route. See spec.grpc_route Block for details.
final
hashCode → int
The hash code for this object.
no setterinherited
http2Route → Input<RouteSpecHttp2Route?>?
HTTP/2 routing information for the route. See spec.http2_route Block for details.
final
httpRoute → Input<RouteSpecHttpRoute?>?
HTTP routing information for the route. See spec.http_route Block for details.
final
priority → Input<int?>?
Priority for the route, between 0 and 1000. Routes are matched based on the specified value, where 0 is the highest priority.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tcpRoute → Input<RouteSpecTcpRoute?>?
TCP routing information for the route. See spec.tcp_route Block for details.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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