controllers

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlternateImageSourceReconciler

type AlternateImageSourceReconciler struct {
	client.Client
	Log           logr.Logger
	Scheme        *runtime.Scheme
	RestMapper    meta.RESTMapper
	DynamicClient dynamic.Interface
}

AlternateImageSourceReconciler reconciles a AlternateImageSource object

func (*AlternateImageSourceReconciler) PodToAlternateImageSource

func (r *AlternateImageSourceReconciler) PodToAlternateImageSource(o handler.MapObject) []ctrl.Request

PodToAlternateImageSource is a handler.ToRequestsFunc to be used to enqueue requests to reconcile Pods When a pod has an imagePullErr, this will request a reconciliation

func (*AlternateImageSourceReconciler) Reconcile

Reconcile loads and reconciles the AlternateImageSource

func (*AlternateImageSourceReconciler) SetupWithManager

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

SetupWithManager sets up the reconciler

Jump to

Keyboard shortcuts

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