接口 GatewayOuterClass.GatewayOrBuilder
-
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 封闭类:
- GatewayOuterClass
public static interface GatewayOuterClass.GatewayOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
方法概要
所有方法 实例方法 抽象方法 已过时的方法 修饰符和类型 方法 说明 booleancontainsSelector(java.lang.String key)One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied.java.util.Map<java.lang.String,java.lang.String>getSelector()已过时。intgetSelectorCount()One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied.java.util.Map<java.lang.String,java.lang.String>getSelectorMap()One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied.java.lang.StringgetSelectorOrDefault(java.lang.String key, java.lang.String defaultValue)One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied.java.lang.StringgetSelectorOrThrow(java.lang.String key)One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied.GatewayOuterClass.ServergetServers(int index)A list of server specifications.intgetServersCount()A list of server specifications.java.util.List<GatewayOuterClass.Server>getServersList()A list of server specifications.GatewayOuterClass.ServerOrBuildergetServersOrBuilder(int index)A list of server specifications.java.util.List<? extends GatewayOuterClass.ServerOrBuilder>getServersOrBuilderList()A list of server specifications.
-
-
-
方法详细资料
-
getServersList
java.util.List<GatewayOuterClass.Server> getServersList()
A list of server specifications.
repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED];
-
getServers
GatewayOuterClass.Server getServers(int index)
A list of server specifications.
repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED];
-
getServersCount
int getServersCount()
A list of server specifications.
repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED];
-
getServersOrBuilderList
java.util.List<? extends GatewayOuterClass.ServerOrBuilder> getServersOrBuilderList()
A list of server specifications.
repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED];
-
getServersOrBuilder
GatewayOuterClass.ServerOrBuilder getServersOrBuilder(int index)
A list of server specifications.
repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED];
-
getSelectorCount
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];
-
containsSelector
boolean containsSelector(java.lang.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];
-
getSelector
@Deprecated java.util.Map<java.lang.String,java.lang.String> getSelector()
已过时。UsegetSelectorMap()instead.
-
getSelectorMap
java.util.Map<java.lang.String,java.lang.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];
-
getSelectorOrDefault
java.lang.String getSelectorOrDefault(java.lang.String key, java.lang.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];
-
getSelectorOrThrow
java.lang.String getSelectorOrThrow(java.lang.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];
-
-