MCPcopy Create free account
hub / github.com/coderanger/migrations-operator / APIServer

Function APIServer

http/http.go:34–37  ·  view source on GitHub ↗
(mgr ctrl.Manager)

Source from the content-addressed store, hash-verified

32}
33
34func APIServer(mgr ctrl.Manager) error {
35 server := &apiServer{client: mgr.GetClient()}
36 return mgr.Add(server)
37}
38
39func (s *apiServer) Start(ctx context.Context) error {
40 mux := http.NewServeMux()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected