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

Method Register

pkg/webhook/server.go:56–56  ·  view source on GitHub ↗

Register marks the given webhook as being served at the given path. It panics if two hooks are registered on the same path.

(path string, hook http.Handler)

Source from the content-addressed store, hash-verified

54 // Register marks the given webhook as being served at the given path.
55 // It panics if two hooks are registered on the same path.
56 Register(path string, hook http.Handler)
57
58 // Start runs the server.
59 // It will install the webhook related resources depend on the server configuration.

Callers 15

ExampleFunction · 0.95
ExampleServer_StartFunction · 0.95
webhook_test.goFile · 0.65
registerClientMetricsFunction · 0.65
filters_test.goFile · 0.65
RegisterMethod · 0.65
scheme_test.goFile · 0.65
server_test.goFile · 0.65

Calls

no outgoing calls

Tested by 2

ExampleFunction · 0.76
ExampleServer_StartFunction · 0.76