public static interface GatewayOuterClass.GatewayOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsSelector(String key)
One or more labels that indicate a specific set of pods/VMs
on which this gateway configuration should be applied.
|
Map<String,String> |
getSelector()
已过时。
|
int |
getSelectorCount()
One or more labels that indicate a specific set of pods/VMs
on which this gateway configuration should be applied.
|
Map<String,String> |
getSelectorMap()
One or more labels that indicate a specific set of pods/VMs
on which this gateway configuration should be applied.
|
String |
getSelectorOrDefault(String key,
String defaultValue)
One or more labels that indicate a specific set of pods/VMs
on which this gateway configuration should be applied.
|
String |
getSelectorOrThrow(String key)
One or more labels that indicate a specific set of pods/VMs
on which this gateway configuration should be applied.
|
GatewayOuterClass.Server |
getServers(int index)
A list of server specifications.
|
int |
getServersCount()
A list of server specifications.
|
List<GatewayOuterClass.Server> |
getServersList()
A list of server specifications.
|
GatewayOuterClass.ServerOrBuilder |
getServersOrBuilder(int index)
A list of server specifications.
|
List<? extends GatewayOuterClass.ServerOrBuilder> |
getServersOrBuilderList()
A list of server specifications.
|
List<GatewayOuterClass.Server> getServersList()
A list of server specifications.
repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED];GatewayOuterClass.Server getServers(int index)
A list of server specifications.
repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED];int getServersCount()
A list of server specifications.
repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED];List<? extends GatewayOuterClass.ServerOrBuilder> getServersOrBuilderList()
A list of server specifications.
repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED];GatewayOuterClass.ServerOrBuilder getServersOrBuilder(int index)
A list of server specifications.
repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED];int getSelectorCount()
One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied. By default workloads are searched across all namespaces based on label selectors. This implies that a gateway resource in the namespace "foo" can select pods in the namespace "bar" based on labels. This behavior can be controlled via the `PILOT_SCOPE_GATEWAY_TO_NAMESPACE` environment variable in istiod. If this variable is set to true, the scope of label search is restricted to the configuration namespace in which the the resource is present. In other words, the Gateway resource must reside in the same namespace as the gateway workload instance. If selector is nil, the Gateway will be applied to all workloads.
map<string, string> selector = 2 [(.google.api.field_behavior) = REQUIRED];boolean containsSelector(String key)
One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied. By default workloads are searched across all namespaces based on label selectors. This implies that a gateway resource in the namespace "foo" can select pods in the namespace "bar" based on labels. This behavior can be controlled via the `PILOT_SCOPE_GATEWAY_TO_NAMESPACE` environment variable in istiod. If this variable is set to true, the scope of label search is restricted to the configuration namespace in which the the resource is present. In other words, the Gateway resource must reside in the same namespace as the gateway workload instance. If selector is nil, the Gateway will be applied to all workloads.
map<string, string> selector = 2 [(.google.api.field_behavior) = REQUIRED];@Deprecated Map<String,String> getSelector()
getSelectorMap() instead.Map<String,String> getSelectorMap()
One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied. By default workloads are searched across all namespaces based on label selectors. This implies that a gateway resource in the namespace "foo" can select pods in the namespace "bar" based on labels. This behavior can be controlled via the `PILOT_SCOPE_GATEWAY_TO_NAMESPACE` environment variable in istiod. If this variable is set to true, the scope of label search is restricted to the configuration namespace in which the the resource is present. In other words, the Gateway resource must reside in the same namespace as the gateway workload instance. If selector is nil, the Gateway will be applied to all workloads.
map<string, string> selector = 2 [(.google.api.field_behavior) = REQUIRED];String getSelectorOrDefault(String key, String defaultValue)
One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied. By default workloads are searched across all namespaces based on label selectors. This implies that a gateway resource in the namespace "foo" can select pods in the namespace "bar" based on labels. This behavior can be controlled via the `PILOT_SCOPE_GATEWAY_TO_NAMESPACE` environment variable in istiod. If this variable is set to true, the scope of label search is restricted to the configuration namespace in which the the resource is present. In other words, the Gateway resource must reside in the same namespace as the gateway workload instance. If selector is nil, the Gateway will be applied to all workloads.
map<string, string> selector = 2 [(.google.api.field_behavior) = REQUIRED];String getSelectorOrThrow(String key)
One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied. By default workloads are searched across all namespaces based on label selectors. This implies that a gateway resource in the namespace "foo" can select pods in the namespace "bar" based on labels. This behavior can be controlled via the `PILOT_SCOPE_GATEWAY_TO_NAMESPACE` environment variable in istiod. If this variable is set to true, the scope of label search is restricted to the configuration namespace in which the the resource is present. In other words, the Gateway resource must reside in the same namespace as the gateway workload instance. If selector is nil, the Gateway will be applied to all workloads.
map<string, string> selector = 2 [(.google.api.field_behavior) = REQUIRED];Copyright © 2018–2023 Alibaba Group. All rights reserved.