cmds

package
v1.87.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2022 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackupCommand

func BackupCommand(getRv GetRootValues) *cobra.Command

func BackupListCommand

func BackupListCommand(getRv GetRootValues) *cobra.Command

func ConfigCommand

func ConfigCommand(getRv GetRootValues, ghClientID, ghClientSecret string) *cobra.Command

func ReadSecretCommand

func ReadSecretCommand(getRv GetRootValues) *cobra.Command

func RestoreCommand

func RestoreCommand(getRv GetRootValues) *cobra.Command

func StartDatabase

func StartDatabase(getRv GetRootValues) *cobra.Command

func StartOperator

func StartOperator(getRv GetRootValues) *cobra.Command

func TakeoffCommand

func TakeoffCommand(getRv GetRootValues) *cobra.Command

func TeardownCommand

func TeardownCommand(getRv GetRootValues) *cobra.Command

func WriteSecretCommand

func WriteSecretCommand(getRv GetRootValues) *cobra.Command

Types

type GetRootValues

type GetRootValues func(command string, tags map[string]interface{}, component string, moreComponents ...string) *RootValues

func RootCommand

func RootCommand(version string, monitor mntr.Monitor) (*cobra.Command, GetRootValues)

type RootValues

type RootValues struct {
	Ctx        context.Context
	Monitor    mntr.Monitor
	Version    string
	Gitops     bool
	OrbConfig  *orb.Orb
	GitClient  *git.Client
	Kubeconfig string
	ErrFunc    errFunc
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL