Help us shape the future of Go! Take the 2026 Go Developer Survey

auditpolicy

package
v1.154.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// HandlerName is the name of this admission webhook handler.
	HandlerName = "auditpolicy_validator"
	// WebhookPath is the HTTP handler path for this admission webhook handler.
	WebhookPath = "/webhooks/audit-policies"
)

Variables

This section is empty.

Functions

func AddToManager

func AddToManager(mgr manager.Manager, gardenNamespace string) error

AddToManager adds the webhook to the given manager.

func NewHandler

func NewHandler(apiReader, c client.Reader, decoderAdmission admission.Decoder, gardenNamespace string) admission.Handler

NewHandler returns a handler that validates audit policy for Garden and referenced ConfigMaps

Types

This section is empty.

Jump to

Keyboard shortcuts

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