接口 GatewayOuterClass.GatewayOrBuilder

所有超级接口:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
所有已知实现类:
GatewayOuterClass.Gateway, GatewayOuterClass.Gateway.Builder
封闭类:
GatewayOuterClass

public static interface GatewayOuterClass.GatewayOrBuilder extends com.google.protobuf.MessageOrBuilder
  • 方法详细资料

    • getServersList

      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

      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(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 Map<String,String> getSelector()
      已过时。
      Use getSelectorMap() instead.
    • getSelectorMap

      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];
    • getSelectorOrDefault

      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];
    • getSelectorOrThrow

      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];