clusterresourceplacementwatcher

package
v0.6.10 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package clusterresourceplacementwatcher features a controller to watch the clusterResourcePlacement changes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	// PlacementController maintains a rate limited queue which used to store
	// the name of the clusterResourcePlacement and a reconcile function to consume the items in queue.
	PlacementController controller.Controller
}

Reconciler reconciles a clusterResourcePlacement object.

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(_ context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile triggers a single CRP reconcile round if CRP has changed.

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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