RouteSpec constructor
const
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.
Implementation
const RouteSpec({
this.grpcRoute,
this.http2Route,
this.httpRoute,
this.priority,
this.tcpRoute,
});