MCPcopy
hub / github.com/kubernetes-sigs/controller-runtime / Handler

Interface Handler

pkg/webhook/authentication/webhook.go:61–67  ·  view source on GitHub ↗

Handler can handle an TokenReview.

Source from the content-addressed store, hash-verified

59
60// Handler can handle an TokenReview.
61type Handler interface {
62 // Handle yields a response to an TokenReview.
63 //
64 // The supplied context is extracted from the received http.Request, allowing wrapping
65 // http.Handlers to inject values into and control cancelation of downstream request processing.
66 Handle(context.Context, Request) Response
67}
68
69// HandlerFunc implements Handler interface using a single function.
70type HandlerFunc func(context.Context, Request) Response

Callers

nothing calls this directly

Implementers 7

rejectingValidatorpkg/envtest/webhook_test.go
rejectingValidatorpkg/webhook/webhook_integration_test.g
Webhookpkg/webhook/authentication/webhook.go
fakeHandlerpkg/webhook/authentication/http_test.g
Webhookpkg/webhook/admission/webhook.go
fakeHandlerpkg/webhook/admission/http_test.go
authenticatorexamples/tokenreview/tokenreview.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…