(mgr ctrl.Manager)
| 32 | } |
| 33 | |
| 34 | func APIServer(mgr ctrl.Manager) error { |
| 35 | server := &apiServer{client: mgr.GetClient()} |
| 36 | return mgr.Add(server) |
| 37 | } |
| 38 | |
| 39 | func (s *apiServer) Start(ctx context.Context) error { |
| 40 | mux := http.NewServeMux() |
nothing calls this directly
no outgoing calls
no test coverage detected