config

package
v1.9.0-industry.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterControllerConfiguration

type ClusterControllerConfiguration struct {
	// clusterSyncPeriod is the period for syncing cluster life-cycle
	// updates.
	ClusterSyncPeriod time.Duration
	// concurrentClusterSyncs is the number of cluster objects that are
	// allowed to sync concurrently.
	ConcurrentClusterSyncs int
	// HealthCheckPeriod is the period for cluster health check
	HealthCheckPeriod time.Duration
	// When the number of clusters is relatively large,
	// the health check of all clusters takes a long time.
	// You can set a random health check time for each cluster
	RandomeRangeLowerLimitForHealthCheckPeriod time.Duration
	RandomeRangeUpperLimitForHealthCheckPeriod time.Duration
	// BucketRateLimiterLimit allows events up to rate r and permits.
	BucketRateLimiterLimit int
	// BucketRateLimiterBurst bursts of at most b tokens.
	BucketRateLimiterBurst int
}

ClusterControllerConfiguration contains elements describing ClusterController.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL