webhook

package
v1.0.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

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

Variables

View Source
var AlphaReconcilerSet = wire.NewSet(
	NewLogger,
	wire.Struct(new(AlphaReconciler), "*"),
)

AlphaReconcilerSet provides a AlphaReconciler. nolint: gochecknoglobals

View Source
var BetaReconcilerConfigSet = wire.NewSet(
	wire.Struct(new(BetaReconcilerConfig), "*"),
)

BetaReconcilerConfigSet provides a BetaReconcilerConfig. nolint: gochecknoglobals

BetaReconcilerFactorySet provides a BetaReconcilerFactory. nolint: gochecknoglobals

View Source
var ErrObjectNotWebhook = errors.New("object is not a webhook")

Functions

This section is empty.

Types

type AlphaReconciler

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

func NewAlphaReconciler

func NewAlphaReconciler(mgr manager.Manager, logger logr.Logger) *AlphaReconciler

func (*AlphaReconciler) Reconcile

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

type BetaReconciler

type BetaReconciler struct {
	BetaReconcilerConfig

	Object runtime.Object
}

func (*BetaReconciler) Reconcile

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

type BetaReconcilerConfig

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

func NewBetaReconcilerConfig

func NewBetaReconcilerConfig(mgr manager.Manager, logger logr.Logger) BetaReconcilerConfig

type BetaReconcilerFactory

type BetaReconcilerFactory struct {
	BetaReconcilerConfig
}

func NewBetaReconcilerFactory

func NewBetaReconcilerFactory(conf BetaReconcilerConfig, mgr manager.Manager) (*BetaReconcilerFactory, error)

func (*BetaReconcilerFactory) Build

func (*BetaReconcilerFactory) NewReconciler

type Logger

type Logger logr.Logger

func NewLogger

func NewLogger(logger logr.Logger) Logger

Jump to

Keyboard shortcuts

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