command

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// task type
	PULL_IMAGE = iota
	CREATE_CONTAINER
	SYNC_CONFIG
	START_ETCD
	START_MDS
	START_CHUNKSERVER
	START_SNAPSHOTCLONE
	START_METASEREVR
	CREATE_PHYSICAL_POOL
	CREATE_LOGICAL_POOL
)
View Source
const (
	FORMAT_ENTER_CMD = "ssh -tt %s@%s -p %d -i %s " +
		"sudo docker exec -it %s /bin/bash -c \"cd %s; /bin/bash\""
)

Variables

Functions

func NewCheckCommand

func NewCheckCommand(curveadm *cli.CurveAdm) *cobra.Command

func NewCleanCommand

func NewCleanCommand(curveadm *cli.CurveAdm) *cobra.Command

func NewCompletionCommand

func NewCompletionCommand() *cobra.Command

func NewCurveAdmCommand

func NewCurveAdmCommand(curveadm *cli.CurveAdm) *cobra.Command

func NewDeployCommand

func NewDeployCommand(curveadm *cli.CurveAdm) *cobra.Command

func NewEnterCommand

func NewEnterCommand(curveadm *cli.CurveAdm) *cobra.Command

func NewFormatCommand

func NewFormatCommand(curveadm *cli.CurveAdm) *cobra.Command

func NewMapCommand

func NewMapCommand(curveadm *cli.CurveAdm) *cobra.Command

func NewMountCommand

func NewMountCommand(curveadm *cli.CurveAdm) *cobra.Command

func NewReloadCommand

func NewReloadCommand(curveadm *cli.CurveAdm) *cobra.Command

func NewRestartCommand

func NewRestartCommand(curveadm *cli.CurveAdm) *cobra.Command

func NewStartCommand

func NewStartCommand(curveadm *cli.CurveAdm) *cobra.Command

func NewStatusCommand

func NewStatusCommand(curveadm *cli.CurveAdm) *cobra.Command

func NewStopCommand

func NewStopCommand(curveadm *cli.CurveAdm) *cobra.Command

func NewSupportCommand

func NewSupportCommand(curveadm *cli.CurveAdm) *cobra.Command

func NewUmountCommand

func NewUmountCommand(curveadm *cli.CurveAdm) *cobra.Command

func NewUnmapCommand

func NewUnmapCommand(curveadm *cli.CurveAdm) *cobra.Command

func NewUpgradeCommand

func NewUpgradeCommand(curveadm *cli.CurveAdm) *cobra.Command

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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