foghorn

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 48 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LighthouseJobReconciler added in v0.0.746

type LighthouseJobReconciler struct {
	// ConfigMapWatcher watches for changes in our relevant config maps and updates the reconciler's versions when required.
	ConfigMapWatcher *watcher.ConfigMapWatcher
	// contains filtered or unexported fields
}

LighthouseJobReconciler listens for changes to LighthouseJobs and updates the corresponding LighthouseJob status and provider commit statuses.

func NewLighthouseJobReconciler added in v0.0.746

func NewLighthouseJobReconciler(client client.Client, scheme *runtime.Scheme, ns string) (*LighthouseJobReconciler, error)

NewLighthouseJobReconciler returns a new controller for syncing LighthouseJobs and commit statuses

func NewLighthouseJobReconcilerWithConfig added in v0.0.746

func NewLighthouseJobReconcilerWithConfig(client client.Client, scheme *runtime.Scheme, ns string, configMapWatcher *watcher.ConfigMapWatcher, jobConfig *config.Agent, pluginConfig *plugins.ConfigAgent) (*LighthouseJobReconciler, error)

NewLighthouseJobReconcilerWithConfig takes returns a new controller for syncing LighthouseJobs and commit statuses using the provided config map watcher and configs

func (*LighthouseJobReconciler) Reconcile added in v0.0.746

func (r *LighthouseJobReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile represents an iteration of the reconciliation loop

func (*LighthouseJobReconciler) SetupWithManager added in v0.0.746

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

SetupWithManager sets up the reconciler with its manager

Jump to

Keyboard shortcuts

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