cronanythingcontroller

package
v0.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: May 13, 2021 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResourceResolver

func NewResourceResolver(config *rest.Config) *realResourceResolver

NewResourceResolver creates a resource resolver to find the corresponding group version resource for a given group version kind.

Types

type ReconcileCronAnything

type ReconcileCronAnything struct {
	// contains filtered or unexported fields
}

ReconcileCronAnything reconciles a CronAnything object.

func NewCronAnythingReconciler

func NewCronAnythingReconciler(mgr manager.Manager) (*ReconcileCronAnything, error)

NewCronAnythingReconciler returns a new CronAnything Reconciler.

func (*ReconcileCronAnything) Reconcile

func (r *ReconcileCronAnything) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile loop for CronAnything. The CronAnything controller does not watch child reosources. To make sure the reconcile loop are triggered when a cron expression triggers, the controller uses RequeueAfter.

func (*ReconcileCronAnything) SetupWithManager

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

SetupWithManager configures the reconciler.

Jump to

Keyboard shortcuts

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