webhook

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 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, _ options.WebhookFlags, 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

Jump to

Keyboard shortcuts

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