MCPcopy
hub / github.com/operator-framework/operator-sdk / main

Function main

cmd/helm-operator/main.go:27–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25)
26
27func main() {
28 root := cobra.Command{
29 Short: "Reconcile an Helm operator project using helm",
30 Long: `This binary runs a Helm operator that reconciles Kubernetes resources
31managed by the helm program. It can be run either directly or from a Helm operator
32project's image entrypoint
33`,
34 Use: "helm-operator",
35 }
36
37 root.AddCommand(run.NewCmd())
38 root.AddCommand(version.NewCmd())
39
40 if err := root.Execute(); err != nil {
41 log.Fatal(err)
42 }
43}

Callers

nothing calls this directly

Calls 2

NewCmdFunction · 0.92
NewCmdFunction · 0.92

Tested by

no test coverage detected