Documentation ¶
Index ¶
- Constants
- func NewItemExponentialFailureAndJitterSlowRateLimter(fastBaseDelay, fastMaxDelay, slowBaseDeploy time.Duration, ...) workqueue.RateLimiter
- type ItemExponentialFailureAndJitterSlowRateLimter
- type Manager
- func (manager *Manager) Run(workers int, stopCh <-chan struct{})
- func (manager *Manager) UpdateClusterAPIServerAndValidatedCondition(name string, apiServerEndpoint string, synchro *clustersynchro.ClusterSynchro, ...)
- func (manager *Manager) UpdateClusterStatus(ctx context.Context, name string, status *clusterv1alpha2.ClusterStatus) error
Constants ¶
View Source
const ClusterSynchroControllerFinalizer = "clusterpedia.io/cluster-synchro-controller"
Variables ¶
This section is empty.
Functions ¶
func NewItemExponentialFailureAndJitterSlowRateLimter ¶ added in v0.4.1
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
func (r *ItemExponentialFailureAndJitterSlowRateLimter) When(item interface{}) time.Duration
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager(client crdclientset.Interface, storage storage.StorageFactory) *Manager
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
Click to show internal directories.
Click to hide internal directories.