Documentation ¶
Index ¶
- Constants
- type PropagationReconciler
- func (r *PropagationReconciler) BaseSetupWithManager(name string, mgr ctrl.Manager) error
- func (r *PropagationReconciler) ListObjects(ctx context.Context) client.ObjectList
- func (r *PropagationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *PropagationReconciler) ReconcileCRD(ctx context.Context, remoteClient client.Client, clusterName, namespace string) error
Constants ¶
View Source
const (
DefaultRequeueInterval = 10 * time.Minute
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PropagationReconciler ¶
type PropagationReconciler struct { client.Client Recorder record.EventRecorder EmptyObj client.Object EmptyObjList client.ObjectList CRDName string HandlerFunc func(context.Context, client.Object) []ctrl.Request StripObjectWrapper func(client.Object) (client.Object, error) }
PropagationReconciler implements the basic functionality every resource propagation reconciler needs.
func (*PropagationReconciler) BaseSetupWithManager ¶
func (r *PropagationReconciler) BaseSetupWithManager(name string, mgr ctrl.Manager) error
func (*PropagationReconciler) ListObjects ¶
func (r *PropagationReconciler) ListObjects(ctx context.Context) client.ObjectList
func (*PropagationReconciler) ReconcileCRD ¶
Click to show internal directories.
Click to hide internal directories.