MCPcopy Index your code
hub / github.com/linkerd/linkerd2 / Handler

FuncType Handler

controller/webhook/server.go:29–34  ·  view source on GitHub ↗

Handler is the signature for the functions that ultimately deal with the admission request

func(
	context.Context,
	*k8s.MetadataAPI,
	*admissionv1beta1.AdmissionRequest,
	record.EventRecorder,
) (*admissionv1beta1.AdmissionResponse, error)

Source from the content-addressed store, hash-verified

27// Handler is the signature for the functions that ultimately deal with
28// the admission request
29type Handler func(
30 context.Context,
31 *k8s.MetadataAPI,
32 *admissionv1beta1.AdmissionRequest,
33 record.EventRecorder,
34) (*admissionv1beta1.AdmissionResponse, error)
35
36// Server describes the https server implementing the webhook
37type Server struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected