public static interface VirtualServiceOuterClass.HTTPRouteDestinationOrBuilder
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.
|
VirtualServiceOuterClass.Headers |
getHeaders()
Header manipulation rules
.istio.networking.v1alpha3.Headers headers = 7; |
VirtualServiceOuterClass.HeadersOrBuilder |
getHeadersOrBuilder()
Header manipulation rules
.istio.networking.v1alpha3.Headers headers = 7; |
int |
getWeight()
The proportion of traffic to be forwarded to the service
version. (0-100).
|
boolean |
hasDestination()
Destination uniquely identifies the instances of a service
to which the request/connection should be forwarded to.
|
boolean |
hasHeaders()
Header manipulation rules
.istio.networking.v1alpha3.Headers headers = 7; |
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. (0-100). Sum of weights across destinations SHOULD BE == 100. If there is only one destination in a rule, the weight value is assumed to be 100.
int32 weight = 2;boolean hasHeaders()
Header manipulation rules
.istio.networking.v1alpha3.Headers headers = 7;VirtualServiceOuterClass.Headers getHeaders()
Header manipulation rules
.istio.networking.v1alpha3.Headers headers = 7;VirtualServiceOuterClass.HeadersOrBuilder getHeadersOrBuilder()
Header manipulation rules
.istio.networking.v1alpha3.Headers headers = 7;Copyright © 2018–2023 Alibaba Group. All rights reserved.