controllers

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 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 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 PodCheckpointReconciler

type PodCheckpointReconciler struct {
	client.Client
	Log             logr.Logger
	Scheme          *runtime.Scheme
	WorkerNamespace string
	WorkerImage     string
}

PodCheckpointReconciler reconciles a PodCheckpoint object

func (*PodCheckpointReconciler) Reconcile

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

Reconcile is the main entry point for comparing current state of custom resource with desired state and converge to the desired state

func (*PodCheckpointReconciler) SetupWithManager

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

SetupWithManager will configure the controller manager

Jump to

Keyboard shortcuts

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