Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualOptions ¶
Types ¶
type CommandInterface ¶
type CommandInterface interface {
PrinterInterface
Options() common.Options
CheckOptions() error
Run() error
}
type Options ¶
type Options struct {
Help bool `short:"h" long:"help" description:"Show help information"`
Verbose bool `short:"v" long:"verbose" description:"Show verbose debug information"`
JSON bool `long:"json" description:"Show information with JSON format"`
DryRun bool `long:"dryrun" description:"Runs command in a dry-run fashion (i.e., fake)"`
Latest int `long:"latest" description:"The latest task number to use" default:"50"`
Packages bool `long:"packages" description:"List SL packages"`
PackageOptions string `long:"package-options" description:"List SL package options"`
Username string `long:"username" short:"u" description:"the username for login in"`
Password string `long:"password" short:"p" description:"the password for login in"`
Target string `long:"target" short:"t" description:"the target URL"`
TaskID int `long:"task_id" description:"The ID of a task"`
Debug bool `long:"debug" description:"Show debug information of a task"`
Deployment string `long:"deployment" short:"d" description:"The deployment file"`
Server string `long:"server" description:"the ID for a baremetal server"`
State string `long:"state" description:"the baremetal server state"`
VMPrefix string `long:"vmprefix" description:"vmprefix for provisioning a baremetal"`
Stemecell string `long:"stemcell" description:"stemcell for provisioning a baremetal"`
NetbootImage string `long:"netbootimage" description:"netboot image for provisioning a baremetal"`
}
Click to show internal directories.
Click to hide internal directories.