advancedcronjob

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new AdvancedCronJob Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.

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 IndexerFunc

type IndexerFunc func(manager.Manager) error

type ReconcileAdvancedCronJob

type ReconcileAdvancedCronJob struct {
	client.Client

	Clock
	// contains filtered or unexported fields
}

ReconcileAdvancedCronJob reconciles a AdvancedCronJob object

func (*ReconcileAdvancedCronJob) Reconcile

func (*ReconcileAdvancedCronJob) SetupWithManager

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

Jump to

Keyboard shortcuts

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