progressing

package
v1.72.1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const ControllerName = "health-progressing"

ControllerName is the name of the controller.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	SourceClient client.Client
	TargetClient client.Client
	Config       config.HealthControllerConfig
	Clock        clock.Clock
	ClassFilter  *resourcemanagerpredicate.ClassFilter
}

Reconciler performs progressing checks for resources managed as part of ManagedResources.

func (*Reconciler) AddToManager

func (r *Reconciler) AddToManager(mgr manager.Manager, sourceCluster, targetCluster cluster.Cluster, targetCacheDisabled bool, clusterID string) error

AddToManager adds Reconciler to the given manager.

func (*Reconciler) ProgressingStatusChanged

func (r *Reconciler) ProgressingStatusChanged() predicate.Predicate

ProgressingStatusChanged returns a predicate that filters for events that indicate a change in the object's progressing status.

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)

Reconcile performs the progressing checks.

Jump to

Keyboard shortcuts

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