Documentation ¶
Index ¶
- Constants
- type Reconciler
- func (r *Reconciler) AddToManager(ctx context.Context, mgr manager.Manager, ...) error
- func (r *Reconciler) MapPodToDeploymentToOriginManagedResource(clusterID string) mapper.MapFunc
- func (r *Reconciler) ProgressingStatusChanged(ctx context.Context) predicate.Predicate
- func (r *Reconciler) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)
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(ctx context.Context, mgr manager.Manager, sourceCluster, targetCluster cluster.Cluster, clusterID string) error
AddToManager adds Reconciler to the given manager.
func (*Reconciler) MapPodToDeploymentToOriginManagedResource ¶ added in v1.80.0
func (r *Reconciler) MapPodToDeploymentToOriginManagedResource(clusterID string) mapper.MapFunc
MapPodToDeploymentToOriginManagedResource is a mapper.MapFunc for pods to their origin Deployment and origin ManagedResource.
func (*Reconciler) ProgressingStatusChanged ¶
func (r *Reconciler) ProgressingStatusChanged(ctx context.Context) predicate.Predicate
ProgressingStatusChanged returns a predicate that filters for events that indicate a change in the object's progressing status.
Click to show internal directories.
Click to hide internal directories.