trigger

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReasonPatched     = "Patched"
	ReasonPatchFailed = "PatchFailed"
)

Variables

View Source
var ReconcilerConfigSet = wire.NewSet(
	wire.Struct(new(ReconcilerConfig), "*"),
)

ReconcilerConfigSet provides a ReconcilerConfig. nolint: gochecknoglobals

ReconcilerSet provides a Reconciler. nolint: gochecknoglobals

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	ReconcilerConfig
}

func NewReconciler

func NewReconciler(conf ReconcilerConfig, mgr manager.Manager) (*Reconciler, error)

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)

type ReconcilerConfig

type ReconcilerConfig struct {
	Client   client.Client
	Recorder record.EventRecorder
}

func NewReconcilerConfig

func NewReconcilerConfig(mgr manager.Manager) ReconcilerConfig

Jump to

Keyboard shortcuts

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