public static interface VirtualServiceOuterClass.RouteDestinationOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
VirtualServiceOuterClass.Destination |
getDestination()
Destination uniquely identifies the instances of a service
to which the request/connection should be forwarded to.
|
VirtualServiceOuterClass.DestinationOrBuilder |
getDestinationOrBuilder()
Destination uniquely identifies the instances of a service
to which the request/connection should be forwarded to.
|
int |
getWeight()
The proportion of traffic to be forwarded to the service
version.
|
boolean |
hasDestination()
Destination uniquely identifies the instances of a service
to which the request/connection should be forwarded to.
|
boolean hasDestination()
Destination uniquely identifies the instances of a service to which the request/connection should be forwarded to.
.istio.networking.v1alpha3.Destination destination = 1 [(.google.api.field_behavior) = REQUIRED];VirtualServiceOuterClass.Destination getDestination()
Destination uniquely identifies the instances of a service to which the request/connection should be forwarded to.
.istio.networking.v1alpha3.Destination destination = 1 [(.google.api.field_behavior) = REQUIRED];VirtualServiceOuterClass.DestinationOrBuilder getDestinationOrBuilder()
Destination uniquely identifies the instances of a service to which the request/connection should be forwarded to.
.istio.networking.v1alpha3.Destination destination = 1 [(.google.api.field_behavior) = REQUIRED];int getWeight()
The proportion of traffic to be forwarded to the service version. If there is only one destination in a rule, all traffic will be routed to it irrespective of the weight.
int32 weight = 2;Copyright © 2018–2023 Alibaba Group. All rights reserved.