webhook

package
v0.0.0-...-e8d26fd Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	TypeValidating = "Validating"
	TypeMutating   = "Mutating"
)
View Source
const (
	CaInjectionAnnoKey = "matrixorigin.io/ca-injection"
)

Variables

This section is empty.

Functions

func Setup

func Setup(typ Type, mgr ctrl.Manager, caBundle []byte) error

Types

type Controller

type Controller struct {
	Client   client.Client
	Type     Type
	CaBundle []byte
	Logger   logr.Logger
}

func (*Controller) Reconcile

func (c *Controller) Reconcile(ctx context.Context, req recon.Request) (recon.Result, error)

type Type

type Type string

Jump to

Keyboard shortcuts

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