controllers

package
v0.0.1-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

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 (*PropagationReconciler) Reconcile

func (r *PropagationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*PropagationReconciler) ReconcileCRD

func (r *PropagationReconciler) ReconcileCRD(ctx context.Context, remoteClient client.Client, clusterName, namespace string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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