controllers

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clock

type Clock interface {
	Now() time.Time
}

clock knows how to get the current time. It can be used to fake out timing for testing.

type CronJobReconciler

type CronJobReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
	Clock
}

CronJobReconciler reconciles a CronJob object

func (*CronJobReconciler) Reconcile

func (r *CronJobReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*CronJobReconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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