MCPcopy Create free account
hub / github.com/apache/camel-k / AddToManager

Function AddToManager

pkg/controller/controller.go:32–40  ·  view source on GitHub ↗

AddToManager adds all Controllers to the Manager.

(ctx context.Context, manager ctrl.Manager, client client.Client)

Source from the content-addressed store, hash-verified

30
31// AddToManager adds all Controllers to the Manager.
32func AddToManager(ctx context.Context, manager ctrl.Manager, client client.Client) error {
33 for _, f := range addToManager {
34 if err := f(ctx, manager, client); err != nil {
35 return err
36 }
37 }
38
39 return nil
40}

Callers 1

RunFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected