seedrestriction

package
v1.78.4 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 30 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler added in v1.60.0

type Handler struct {
	Logger logr.Logger
	Client client.Reader
	// contains filtered or unexported fields
}

Handler restricts requests made by gardenlets.

func (*Handler) AddToManager added in v1.60.0

func (h *Handler) AddToManager(ctx context.Context, mgr manager.Manager) error

AddToManager adds Handler to the given manager.

func (*Handler) Handle added in v1.60.0

func (h *Handler) Handle(ctx context.Context, request admission.Request) admission.Response

Handle restricts requests made by gardenlets.

func (*Handler) InjectDecoder added in v1.60.0

func (h *Handler) InjectDecoder(d *admission.Decoder) error

InjectDecoder injects the decoder.

Jump to

Keyboard shortcuts

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