webhook

package
v0.0.0-...-ef6dcbe Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupWebhooks

func SetupWebhooks(mgr manager.Manager, webhooks ...Webhook) error

SetupWebhooks invoke the Register function of every webhook passed as an argument to this function.

Types

type Webhook

type Webhook interface {
	Register(mgr ctrl.Manager, log *logr.Logger) error
}

Webhook is an interface that should be implemented by operator webhooks and that allows to have a cohesive way of defining them and register them.

Jump to

Keyboard shortcuts

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