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

garden

package
v1.153.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// HandlerName is the name of this admission webhook handler.
	HandlerName = "garden-defaulter"
	// WebhookPath is the HTTP handler path for this admission webhook handler.
	WebhookPath = "/webhooks/default-operator-gardener-cloud-v1alpha1-garden"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct{}

Handler performs defaulting.

func (*Handler) AddToManager

func (h *Handler) AddToManager(mgr manager.Manager) error

AddToManager adds Handler to the given manager.

func (*Handler) Default

func (h *Handler) Default(_ context.Context, obj runtime.Object) error

Default performs the defaulting.

Jump to

Keyboard shortcuts

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