public static interface DestinationRuleOuterClass.DestinationRuleOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getExportTo(int index)
A list of namespaces to which this destination rule is exported.
|
com.google.protobuf.ByteString |
getExportToBytes(int index)
A list of namespaces to which this destination rule is exported.
|
int |
getExportToCount()
A list of namespaces to which this destination rule is exported.
|
List<String> |
getExportToList()
A list of namespaces to which this destination rule is exported.
|
String |
getHost()
The name of a service from the service registry.
|
com.google.protobuf.ByteString |
getHostBytes()
The name of a service from the service registry.
|
DestinationRuleOuterClass.Subset |
getSubsets(int index)
One or more named sets that represent individual versions of a
service.
|
int |
getSubsetsCount()
One or more named sets that represent individual versions of a
service.
|
List<DestinationRuleOuterClass.Subset> |
getSubsetsList()
One or more named sets that represent individual versions of a
service.
|
DestinationRuleOuterClass.SubsetOrBuilder |
getSubsetsOrBuilder(int index)
One or more named sets that represent individual versions of a
service.
|
List<? extends DestinationRuleOuterClass.SubsetOrBuilder> |
getSubsetsOrBuilderList()
One or more named sets that represent individual versions of a
service.
|
DestinationRuleOuterClass.TrafficPolicy |
getTrafficPolicy()
Traffic policies to apply (load balancing policy, connection pool
sizes, outlier detection).
|
DestinationRuleOuterClass.TrafficPolicyOrBuilder |
getTrafficPolicyOrBuilder()
Traffic policies to apply (load balancing policy, connection pool
sizes, outlier detection).
|
boolean |
hasTrafficPolicy()
Traffic policies to apply (load balancing policy, connection pool
sizes, outlier detection).
|
String getHost()
The name of a service from the service registry. Service names are looked up from the platform's service registry (e.g., Kubernetes services, Consul services, etc.) and from the hosts declared by [ServiceEntries](https://istio.io/docs/reference/config/networking/service-entry/#ServiceEntry). Rules defined for services that do not exist in the service registry will be ignored. *Note for Kubernetes users*: When short names are used (e.g. "reviews" instead of "reviews.default.svc.cluster.local"), Istio will interpret the short name based on the namespace of the rule, not the service. A rule in the "default" namespace containing a host "reviews" will be interpreted as "reviews.default.svc.cluster.local", irrespective of the actual namespace associated with the reviews service. _To avoid potential misconfigurations, it is recommended to always use fully qualified domain names over short names._ Note that the host field applies to both HTTP and TCP services.
string host = 1 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getHostBytes()
The name of a service from the service registry. Service names are looked up from the platform's service registry (e.g., Kubernetes services, Consul services, etc.) and from the hosts declared by [ServiceEntries](https://istio.io/docs/reference/config/networking/service-entry/#ServiceEntry). Rules defined for services that do not exist in the service registry will be ignored. *Note for Kubernetes users*: When short names are used (e.g. "reviews" instead of "reviews.default.svc.cluster.local"), Istio will interpret the short name based on the namespace of the rule, not the service. A rule in the "default" namespace containing a host "reviews" will be interpreted as "reviews.default.svc.cluster.local", irrespective of the actual namespace associated with the reviews service. _To avoid potential misconfigurations, it is recommended to always use fully qualified domain names over short names._ Note that the host field applies to both HTTP and TCP services.
string host = 1 [(.google.api.field_behavior) = REQUIRED];boolean hasTrafficPolicy()
Traffic policies to apply (load balancing policy, connection pool sizes, outlier detection).
.istio.networking.v1alpha3.TrafficPolicy traffic_policy = 2;DestinationRuleOuterClass.TrafficPolicy getTrafficPolicy()
Traffic policies to apply (load balancing policy, connection pool sizes, outlier detection).
.istio.networking.v1alpha3.TrafficPolicy traffic_policy = 2;DestinationRuleOuterClass.TrafficPolicyOrBuilder getTrafficPolicyOrBuilder()
Traffic policies to apply (load balancing policy, connection pool sizes, outlier detection).
.istio.networking.v1alpha3.TrafficPolicy traffic_policy = 2;List<DestinationRuleOuterClass.Subset> getSubsetsList()
One or more named sets that represent individual versions of a service. Traffic policies can be overridden at subset level.
repeated .istio.networking.v1alpha3.Subset subsets = 3;DestinationRuleOuterClass.Subset getSubsets(int index)
One or more named sets that represent individual versions of a service. Traffic policies can be overridden at subset level.
repeated .istio.networking.v1alpha3.Subset subsets = 3;int getSubsetsCount()
One or more named sets that represent individual versions of a service. Traffic policies can be overridden at subset level.
repeated .istio.networking.v1alpha3.Subset subsets = 3;List<? extends DestinationRuleOuterClass.SubsetOrBuilder> getSubsetsOrBuilderList()
One or more named sets that represent individual versions of a service. Traffic policies can be overridden at subset level.
repeated .istio.networking.v1alpha3.Subset subsets = 3;DestinationRuleOuterClass.SubsetOrBuilder getSubsetsOrBuilder(int index)
One or more named sets that represent individual versions of a service. Traffic policies can be overridden at subset level.
repeated .istio.networking.v1alpha3.Subset subsets = 3;List<String> getExportToList()
A list of namespaces to which this destination rule is exported. The resolution of a destination rule to apply to a service occurs in the context of a hierarchy of namespaces. Exporting a destination rule allows it to be included in the resolution hierarchy for services in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of destination rules across namespace boundaries. If no namespaces are specified then the destination rule is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the destination rule is declared in. Similarly, the value "*" is reserved and defines an export to all namespaces. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 4;int getExportToCount()
A list of namespaces to which this destination rule is exported. The resolution of a destination rule to apply to a service occurs in the context of a hierarchy of namespaces. Exporting a destination rule allows it to be included in the resolution hierarchy for services in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of destination rules across namespace boundaries. If no namespaces are specified then the destination rule is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the destination rule is declared in. Similarly, the value "*" is reserved and defines an export to all namespaces. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 4;String getExportTo(int index)
A list of namespaces to which this destination rule is exported. The resolution of a destination rule to apply to a service occurs in the context of a hierarchy of namespaces. Exporting a destination rule allows it to be included in the resolution hierarchy for services in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of destination rules across namespace boundaries. If no namespaces are specified then the destination rule is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the destination rule is declared in. Similarly, the value "*" is reserved and defines an export to all namespaces. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 4;index - The index of the element to return.com.google.protobuf.ByteString getExportToBytes(int index)
A list of namespaces to which this destination rule is exported. The resolution of a destination rule to apply to a service occurs in the context of a hierarchy of namespaces. Exporting a destination rule allows it to be included in the resolution hierarchy for services in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of destination rules across namespace boundaries. If no namespaces are specified then the destination rule is exported to all namespaces by default. The value "." is reserved and defines an export to the same namespace that the destination rule is declared in. Similarly, the value "*" is reserved and defines an export to all namespaces. NOTE: in the current release, the `exportTo` value is restricted to "." or "*" (i.e., the current namespace or all namespaces).
repeated string export_to = 4;index - The index of the value to return.Copyright © 2018–2023 Alibaba Group. All rights reserved.