controllers

package
v0.0.0-...-5544660 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CronJobContainerName = "kidlectl"
	CommandIdle          = "idle"
	CommandWakeup        = "wakeup"
)

Variables

This section is empty.

Functions

func NewCronJob

func NewCronJob(key types.NamespacedName) *batchv1beta1.CronJob

Types

type CronJobValues

type CronJobValues struct {
	// contains filtered or unexported fields
}

type IdlingResourceReconciler

type IdlingResourceReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
	record.EventRecorder
	KidlectlImage string
}

IdlingResourceReconciler reconciles a IdlingResource object

func (*IdlingResourceReconciler) Reconcile

func (*IdlingResourceReconciler) ReconcileCronStrategies

func (r *IdlingResourceReconciler) ReconcileCronStrategies(ctx context.Context, instance *kidlev1beta1.IdlingResource) (ctrl.Result, error)

func (*IdlingResourceReconciler) ReconcileWithIdler

func (r *IdlingResourceReconciler) ReconcileWithIdler(ctx context.Context, instance *kidlev1beta1.IdlingResource, idler idler.Idler) (ctrl.Result, error)

func (*IdlingResourceReconciler) SetupWithManager

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

type KidleChangedPredicate

type KidleChangedPredicate struct {
	predicate.Funcs
}

func (*KidleChangedPredicate) Update

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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