synchromanager

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const ClusterSynchroControllerFinalizer = "clusterpedia.io/cluster-synchro-controller"

Variables

This section is empty.

Functions

func NewItemExponentialFailureAndJitterSlowRateLimter added in v0.4.1

func NewItemExponentialFailureAndJitterSlowRateLimter(fastBaseDelay, fastMaxDelay, slowBaseDeploy time.Duration, slowMaxFactor float64, maxFastAttempts int) workqueue.RateLimiter

Types

type ItemExponentialFailureAndJitterSlowRateLimter added in v0.4.1

type ItemExponentialFailureAndJitterSlowRateLimter struct {
	// contains filtered or unexported fields
}

func (*ItemExponentialFailureAndJitterSlowRateLimter) Forget added in v0.4.1

func (r *ItemExponentialFailureAndJitterSlowRateLimter) Forget(item interface{})

func (*ItemExponentialFailureAndJitterSlowRateLimter) NumRequeues added in v0.4.1

func (r *ItemExponentialFailureAndJitterSlowRateLimter) NumRequeues(item interface{}) int

func (*ItemExponentialFailureAndJitterSlowRateLimter) When added in v0.4.1

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager(client crdclientset.Interface, storage storage.StorageFactory) *Manager

func (*Manager) Run

func (manager *Manager) Run(workers int, stopCh <-chan struct{})

func (*Manager) UpdateClusterAPIServerAndValidatedCondition added in v0.5.0

func (manager *Manager) UpdateClusterAPIServerAndValidatedCondition(name string, apiServerEndpoint string, synchro *clustersynchro.ClusterSynchro, reason, message string, status metav1.ConditionStatus)

func (*Manager) UpdateClusterStatus

func (manager *Manager) UpdateClusterStatus(ctx context.Context, name string, status *clusterv1alpha2.ClusterStatus) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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