admission

package
v0.1.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMutatingWebhook

func NewMutatingWebhook(
	mutatingWebhookName,
	webhookServiceNamespace,
	webhookServiceName,
	webhookPath string,
	caBundle []byte,
	namespaceSelector *metav1.LabelSelector,
	rules []admissionregv1.RuleWithOperations,
) admissionregv1.MutatingWebhook

func NewMutatingWebhookConfiguration

func NewMutatingWebhookConfiguration() *admissionregv1.MutatingWebhookConfiguration

func NewRule

func NewRule(
	operations []admissionregv1.OperationType,
	apiGroups, apiVersions, resources []string,
) admissionregv1.RuleWithOperations

func NewValidatingWebhook

func NewValidatingWebhook(
	validatingWebhookName,
	webhookServiceNamespace,
	webhookServiceName,
	webhookPath string,
	caBundle []byte,
	namespaceSelector *metav1.LabelSelector,
	rules []admissionregv1.RuleWithOperations,
) admissionregv1.ValidatingWebhook

func RegisterMutatingWebhook

func RegisterMutatingWebhook(name string, webhook admissionregv1.MutatingWebhook)

func RegisterValidatingWebhook

func RegisterValidatingWebhook(name string, webhook admissionregv1.ValidatingWebhook)

Types

This section is empty.

Jump to

Keyboard shortcuts

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