Documentation ¶
Overview ¶
Package admission provides an HTTP handler for a Kubernetes admission webhook. It includes functionality to decode incoming admission requests, execute the corresponding operations, and return appropriate admission responses.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler represents the HTTP handler for an admission webhook.
func (*Handler) Serve ¶
func (h *Handler) Serve(hook operations.Hook) http.HandlerFunc
Serve returns an http.HandlerFunc for an admission webhook.
Click to show internal directories.
Click to hide internal directories.