Interface ClusterManagerOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ClusterManager,ClusterManager.Builder
public interface ClusterManagerOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ApiConfigSourcegetLoadStatsConfig()A management server endpoint to stream load stats to via ``StreamLoadStats``.ApiConfigSourceOrBuildergetLoadStatsConfigOrBuilder()A management server endpoint to stream load stats to via ``StreamLoadStats``.StringgetLocalClusterName()Name of the local cluster (i.e., the cluster that owns the Envoy running this configuration).com.google.protobuf.ByteStringgetLocalClusterNameBytes()Name of the local cluster (i.e., the cluster that owns the Envoy running this configuration).ClusterManager.OutlierDetectiongetOutlierDetection()Optional global configuration for outlier detection.ClusterManager.OutlierDetectionOrBuildergetOutlierDetectionOrBuilder()Optional global configuration for outlier detection.BindConfiggetUpstreamBindConfig()Optional configuration used to bind newly established upstream connections.BindConfigOrBuildergetUpstreamBindConfigOrBuilder()Optional configuration used to bind newly established upstream connections.booleanhasLoadStatsConfig()A management server endpoint to stream load stats to via ``StreamLoadStats``.booleanhasOutlierDetection()Optional global configuration for outlier detection.booleanhasUpstreamBindConfig()Optional configuration used to bind newly established upstream connections.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getLocalClusterName
String getLocalClusterName()
Name of the local cluster (i.e., the cluster that owns the Envoy running this configuration). In order to enable :ref:`zone aware routing <arch_overview_load_balancing_zone_aware_routing>` this option must be set. If ``local_cluster_name`` is defined then :ref:`clusters <envoy_v3_api_msg_config.cluster.v3.Cluster>` must be defined in the :ref:`Bootstrap static cluster resources <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.StaticResources.clusters>`. This is unrelated to the :option:`--service-cluster` option which does not `affect zone aware routing <https://github.com/envoyproxy/envoy/issues/774>`_.
string local_cluster_name = 1;- Returns:
- The localClusterName.
-
getLocalClusterNameBytes
com.google.protobuf.ByteString getLocalClusterNameBytes()
Name of the local cluster (i.e., the cluster that owns the Envoy running this configuration). In order to enable :ref:`zone aware routing <arch_overview_load_balancing_zone_aware_routing>` this option must be set. If ``local_cluster_name`` is defined then :ref:`clusters <envoy_v3_api_msg_config.cluster.v3.Cluster>` must be defined in the :ref:`Bootstrap static cluster resources <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.StaticResources.clusters>`. This is unrelated to the :option:`--service-cluster` option which does not `affect zone aware routing <https://github.com/envoyproxy/envoy/issues/774>`_.
string local_cluster_name = 1;- Returns:
- The bytes for localClusterName.
-
hasOutlierDetection
boolean hasOutlierDetection()
Optional global configuration for outlier detection.
.envoy.config.bootstrap.v3.ClusterManager.OutlierDetection outlier_detection = 2;- Returns:
- Whether the outlierDetection field is set.
-
getOutlierDetection
ClusterManager.OutlierDetection getOutlierDetection()
Optional global configuration for outlier detection.
.envoy.config.bootstrap.v3.ClusterManager.OutlierDetection outlier_detection = 2;- Returns:
- The outlierDetection.
-
getOutlierDetectionOrBuilder
ClusterManager.OutlierDetectionOrBuilder getOutlierDetectionOrBuilder()
Optional global configuration for outlier detection.
.envoy.config.bootstrap.v3.ClusterManager.OutlierDetection outlier_detection = 2;
-
hasUpstreamBindConfig
boolean hasUpstreamBindConfig()
Optional configuration used to bind newly established upstream connections. This may be overridden on a per-cluster basis by upstream_bind_config in the cds_config.
.envoy.config.core.v3.BindConfig upstream_bind_config = 3;- Returns:
- Whether the upstreamBindConfig field is set.
-
getUpstreamBindConfig
BindConfig getUpstreamBindConfig()
Optional configuration used to bind newly established upstream connections. This may be overridden on a per-cluster basis by upstream_bind_config in the cds_config.
.envoy.config.core.v3.BindConfig upstream_bind_config = 3;- Returns:
- The upstreamBindConfig.
-
getUpstreamBindConfigOrBuilder
BindConfigOrBuilder getUpstreamBindConfigOrBuilder()
Optional configuration used to bind newly established upstream connections. This may be overridden on a per-cluster basis by upstream_bind_config in the cds_config.
.envoy.config.core.v3.BindConfig upstream_bind_config = 3;
-
hasLoadStatsConfig
boolean hasLoadStatsConfig()
A management server endpoint to stream load stats to via ``StreamLoadStats``. This must have :ref:`api_type <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`.
.envoy.config.core.v3.ApiConfigSource load_stats_config = 4;- Returns:
- Whether the loadStatsConfig field is set.
-
getLoadStatsConfig
ApiConfigSource getLoadStatsConfig()
A management server endpoint to stream load stats to via ``StreamLoadStats``. This must have :ref:`api_type <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`.
.envoy.config.core.v3.ApiConfigSource load_stats_config = 4;- Returns:
- The loadStatsConfig.
-
getLoadStatsConfigOrBuilder
ApiConfigSourceOrBuilder getLoadStatsConfigOrBuilder()
A management server endpoint to stream load stats to via ``StreamLoadStats``. This must have :ref:`api_type <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`.
.envoy.config.core.v3.ApiConfigSource load_stats_config = 4;
-
-