webhook

package
v1.14.5 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Scheme is a Kubernetes runtime.Scheme with all internal and external API
	// versions for cert-manager types registered.
	// TODO: this type should not be exported
	Scheme = runtime.NewScheme()
)

Functions

func NewCertManagerWebhookServer

func NewCertManagerWebhookServer(log logr.Logger, opts config.WebhookConfiguration, optionFunctions ...func(*server.Server)) (*server.Server, error)

NewCertManagerWebhookServer creates a new webhook server configured with all cert-manager resource types, validation, defaulting and conversion functions.

func WithConversionHandler

func WithConversionHandler(handler handlers.ConversionHook) func(*server.Server)

WithConversionHandler allows you to override the handler for the `/convert` endpoint in tests.

Types

This section is empty.

Directories

Path Synopsis
feature contains webhook's feature gate setup functionality.
feature contains webhook's feature gate setup functionality.

Jump to

Keyboard shortcuts

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