webhook

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: 16 Imported by: 0

Documentation

Index

Constants

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

Variables

View Source
var ReconcilerSet = wire.NewSet(
	NewLogger,
	wire.Struct(new(Reconciler), "*"),
)

ReconcilerSet provides a AlphaReconciler. 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 {
	Client   client.Client
	Logger   Logger
	Recorder record.EventRecorder
}

func NewReconciler

func NewReconciler(mgr manager.Manager, logger logr.Logger) *Reconciler

func (*Reconciler) Reconcile

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

Jump to

Keyboard shortcuts

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