Documentation ¶
Index ¶
Constants ¶
View Source
const UsageText = "gomox [-w] taskstatus <UPID>"
Variables ¶
View Source
var Command = &cli.Command{ Name: "taskstatus", Usage: "Get the status of a given task, by UPID", UsageText: UsageText, Action: taskStatusCmd, Flags: []cli.Flag{ &cli.IntFlag{ Name: "timeout", Category: "wait", Usage: "Wait up to `TIMEOUT` seconds for task completion", Aliases: []string{"s"}, }, &cli.IntFlag{ Name: "interval", Category: "wait", Usage: "Update every `INTERVAL` seconds.", Value: 1, Aliases: []string{"i"}, }, }, }
Functions ¶
func WaitForCliTask ¶
func WaitForCliTask(c *cli.Context, task *proxmox.Task) error
WaitForCliTask waits for `task` to complete
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.