controllers

package
v0.0.0-...-894882a Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DaemonJobReconciler

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

DaemonJobReconciler reconciles a DaemonJob object

func (*DaemonJobReconciler) Reconcile

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

Reconcile method that implements the reconcile loop. The reconcile loop is passed the Request argument which is a Namespace/Name key used to lookup the primary resource object

func (*DaemonJobReconciler) SetupWithManager

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

SetupWithManager function specifies how the controller is built to watch a CR and other resources that are owned and managed by that controller.

Jump to

Keyboard shortcuts

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