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

Struct fakeHandler

pkg/webhook/authentication/http_test.go:220–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218func (nopCloser) Close() error { return nil }
219
220type fakeHandler struct {
221 invoked bool
222 fn func(context.Context, Request) Response
223}
224
225func (h *fakeHandler) Handle(ctx context.Context, req Request) Response {
226 h.invoked = true

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected