controllers

package
v0.0.0-...-95dc4d9 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SuccessMessage = "successfully synced resource: %s in namespace: %s"
	FailedMessage  = "failed synced resource: %s in namespace: %s with error: %v"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RestStrategyReconciler

type RestStrategyReconciler struct {
	client.Client
	Scheme       *runtime.Scheme
	Logger       log.Loggeriface
	IsNamespaced bool
	Namespace    string
	// ResyncPeriod in minutes
	// the amount of minutes to wait after successful
	// apply of resource before re-applying again
	//
	ResyncPeriod int
	// FailedResourceResyncPeriod the amount of time
	// to wait after a failed item was processed
	FailedResourceResyncPeriod int
	ConfigManagerConfig        *generator.GenVarsConfig
}

RestStrategyReconciler reconciles a RestStrategy object

func (*RestStrategyReconciler) Reconcile

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

func (*RestStrategyReconciler) SetupWithManager

func (r *RestStrategyReconciler) 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