Documentation ¶
Index ¶
- func AutoCompleteVMNames(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
- func AutoCompleteVMNamesOrTags(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
- func Exec(config qemu.MachineConfig, cmd string) error
- func ExpandTagArguments(args []string) ([]string, error)
- func Info(vmName string) (string, error)
- func Launch(config qemu.MachineConfig) error
- func ListTags() ([]string, error)
- func ListVMNames() []string
- func Pause(config qemu.MachineConfig) error
- func Resume(config qemu.MachineConfig) error
- func Start(config qemu.MachineConfig) error
- func Status(config qemu.MachineConfig) (string, int)
- func Stop(config qemu.MachineConfig) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoCompleteVMNames ¶
func AutoCompleteVMNames(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
autocomplete with VM Names
func Exec ¶
func Exec(config qemu.MachineConfig, cmd string) error
Exec executes a command inside VM
func ExpandTagArguments ¶
func Launch ¶
func Launch(config qemu.MachineConfig) error
Launch launches a new VM using user-defined configuration
func ListVMNames ¶
func ListVMNames() []string
func Pause ¶
func Pause(config qemu.MachineConfig) error
Stop launches a new VM using user-defined configuration
func Resume ¶
func Resume(config qemu.MachineConfig) error
func Start ¶
func Start(config qemu.MachineConfig) error
Start launches a new VM using user-defined configuration
func Status ¶
func Status(config qemu.MachineConfig) (string, int)
Status launches a new VM using user-defined configuration
func Stop ¶
func Stop(config qemu.MachineConfig) error
Stop launches a new VM using user-defined configuration
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.