controllers

package
v0.0.0-...-b5b4181 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

We'll start out with some imports. You'll see below that we'll need a few more imports than those scaffolded for us. We'll talk about each one when we use it.

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