接口 GatewayOuterClass.GatewayOrBuilder
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 封闭类:
GatewayOuterClass
public static interface GatewayOuterClass.GatewayOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
方法概要
修饰符和类型方法说明booleancontainsSelector(String key) One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied.已过时。intOne or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied.One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied.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.getSelectorOrThrow(String key) One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied.getServers(int index) A list of server specifications.intA list of server specifications.A list of server specifications.getServersOrBuilder(int index) A list of server specifications.List<? extends GatewayOuterClass.ServerOrBuilder> A list of server specifications.从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder
isInitialized从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
getServersList
List<GatewayOuterClass.Server> getServersList()A list of server specifications.
repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED]; -
getServers
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
List<? extends GatewayOuterClass.ServerOrBuilder> getServersOrBuilderList()A list of server specifications.
repeated .istio.networking.v1alpha3.Server servers = 1 [(.google.api.field_behavior) = REQUIRED]; -
getServersOrBuilder
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
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
已过时。UsegetSelectorMap()instead. -
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
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
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];
-