MCPcopy Create free account
hub / github.com/cloudnative-pg/cloudnative-pg / NewCmd

Function NewCmd

internal/cmd/manager/instance/upgrade/cmd.go:31–40  ·  view source on GitHub ↗

NewCmd creates the "instance upgrade" subcommand

()

Source from the content-addressed store, hash-verified

29
30// NewCmd creates the "instance upgrade" subcommand
31func NewCmd() *cobra.Command {
32 cmd := &cobra.Command{
33 Use: "upgrade",
34 }
35
36 cmd.AddCommand(prepare.NewCmd())
37 cmd.AddCommand(execute.NewCmd())
38
39 return cmd
40}

Callers 1

NewCmdFunction · 0.92

Calls 2

NewCmdFunction · 0.92
NewCmdFunction · 0.92

Tested by

no test coverage detected