host

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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 AutoCompleteVMNamesOrTags

func AutoCompleteVMNamesOrTags(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

func Exec

func Exec(config qemu.MachineConfig, cmd string) error

Exec executes a command inside VM

func ExpandTagArguments

func ExpandTagArguments(args []string) ([]string, error)

func Info

func Info(vmName string) (string, error)

func Launch

func Launch(config qemu.MachineConfig) error

Launch launches a new VM using user-defined configuration

func ListTags

func ListTags() ([]string, error)

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.

Jump to

Keyboard shortcuts

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