admission

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NoDownscaleLabelKey    = "grafana.com/no-downscale"
	NoDownscaleLabelValue  = "true"
	NoDownscaleWebhookPath = "/admission/no-downscale"
)

Variables

This section is empty.

Functions

func Serve

func Serve(admit AdmitV1Func, logger log.Logger, api *kubernetes.Clientset) http.HandlerFunc

Serve handles the http portion of a request prior to handing to a V1Handler.

Types

type AdmitV1Func

AdmitV1Func handles a v1 admission

Jump to

Keyboard shortcuts

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