Documentation ¶
Index ¶
- Constants
- Variables
- func NewCheckCommand(curveadm *cli.CurveAdm) *cobra.Command
- func NewCleanCommand(curveadm *cli.CurveAdm) *cobra.Command
- func NewCompletionCommand() *cobra.Command
- func NewCurveAdmCommand(curveadm *cli.CurveAdm) *cobra.Command
- func NewDeployCommand(curveadm *cli.CurveAdm) *cobra.Command
- func NewEnterCommand(curveadm *cli.CurveAdm) *cobra.Command
- func NewFormatCommand(curveadm *cli.CurveAdm) *cobra.Command
- func NewMapCommand(curveadm *cli.CurveAdm) *cobra.Command
- func NewMountCommand(curveadm *cli.CurveAdm) *cobra.Command
- func NewReloadCommand(curveadm *cli.CurveAdm) *cobra.Command
- func NewRestartCommand(curveadm *cli.CurveAdm) *cobra.Command
- func NewStartCommand(curveadm *cli.CurveAdm) *cobra.Command
- func NewStatusCommand(curveadm *cli.CurveAdm) *cobra.Command
- func NewStopCommand(curveadm *cli.CurveAdm) *cobra.Command
- func NewSupportCommand(curveadm *cli.CurveAdm) *cobra.Command
- func NewUmountCommand(curveadm *cli.CurveAdm) *cobra.Command
- func NewUnmapCommand(curveadm *cli.CurveAdm) *cobra.Command
- func NewUpgradeCommand(curveadm *cli.CurveAdm) *cobra.Command
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 ¶
View Source
var ( CURVEBS_STEPS = []int{ PULL_IMAGE, CREATE_CONTAINER, SYNC_CONFIG, START_ETCD, START_MDS, CREATE_PHYSICAL_POOL, START_CHUNKSERVER, CREATE_LOGICAL_POOL, START_SNAPSHOTCLONE, } CURVEFS_STEPS = []int{ PULL_IMAGE, CREATE_CONTAINER, SYNC_CONFIG, START_ETCD, START_MDS, START_METASEREVR, CREATE_LOGICAL_POOL, } )
View Source
var UPGRADE_STEPS = []int{ tasks.STOP_SERVICE, tasks.CLEAN_SERVICE, tasks.PULL_IMAGE, tasks.CREATE_CONTAINER, tasks.SYNC_CONFIG, tasks.START_SERVICE, }
Functions ¶
func NewCompletionCommand ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.