controllers

package
v0.4.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DefaultTokenTTL is the amount of time a bootstrap token (and therefore a
	// CritConfig) will be valid
	DefaultTokenTTL = 15 * time.Minute
)

Functions

This section is empty.

Types

type CritConfigReconciler

type CritConfigReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

CritConfigReconciler reconciles a CritConfig object

func (*CritConfigReconciler) ClusterToCritConfigs

func (r *CritConfigReconciler) ClusterToCritConfigs(o handler.MapObject) []ctrl.Request

ClusterToCritConfigs is a handler.ToRequestsFunc to be used to enqeue requests for reconciliation of CritConfigs.

func (*CritConfigReconciler) MachinePoolToBootstrapMapFunc

func (r *CritConfigReconciler) MachinePoolToBootstrapMapFunc(o handler.MapObject) []ctrl.Request

MachinePoolToBootstrapMapFunc is a handler.ToRequestsFunc to be used to enqueue request for reconciliation of CritConfig.

func (*CritConfigReconciler) MachineToBootstrapMapFunc

func (r *CritConfigReconciler) MachineToBootstrapMapFunc(o handler.MapObject) []ctrl.Request

MachineToBootstrapMapFunc is a handler.ToRequestsFunc to be used to enqeue request for reconciliation of CritConfig.

func (*CritConfigReconciler) Reconcile

func (r *CritConfigReconciler) Reconcile(req ctrl.Request) (res ctrl.Result, reterr error)

func (*CritConfigReconciler) SetupWithManager

func (r *CritConfigReconciler) SetupWithManager(mgr ctrl.Manager, option controller.Options) error

Jump to

Keyboard shortcuts

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