trigger

package
v1.0.0-alpha.8 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2020 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(
	NewLogger,
	wire.Struct(new(ReconcilerConfig), "*"),
)

ReconcilerConfigSet provides a ReconcilerConfig. nolint: gochecknoglobals

ReconcilerSet provides a Reconciler. nolint: gochecknoglobals

Functions

This section is empty.

Types

type Logger

type Logger logr.Logger

func NewLogger

func NewLogger(logger logr.Logger) Logger

type Reconciler

type Reconciler struct {
	ReconcilerConfig
}

func NewReconciler

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

func (*Reconciler) Reconcile

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

type ReconcilerConfig

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

func NewReconcilerConfig

func NewReconcilerConfig(mgr manager.Manager, logger logr.Logger) ReconcilerConfig

Jump to

Keyboard shortcuts

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