vm

package
v0.46.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2021 License: Apache-2.0 Imports: 11 Imported by: 3

Documentation

Index

Constants

View Source
const (
	COMMAND_START        = "start"
	COMMAND_STOP         = "stop"
	COMMAND_RESTART      = "restart"
	COMMAND_MIGRATE      = "migrate"
	COMMAND_GUESTOSINFO  = "guestosinfo"
	COMMAND_USERLIST     = "userlist"
	COMMAND_FSLIST       = "fslist"
	COMMAND_ADDVOLUME    = "addvolume"
	COMMAND_REMOVEVOLUME = "removevolume"
)

Variables

This section is empty.

Functions

func NewAddVolumeCommand added in v0.40.1

func NewAddVolumeCommand(clientConfig clientcmd.ClientConfig) *cobra.Command

func NewFSListCommand added in v0.32.0

func NewFSListCommand(clientConfig clientcmd.ClientConfig) *cobra.Command

func NewGuestOsInfoCommand added in v0.32.0

func NewGuestOsInfoCommand(clientConfig clientcmd.ClientConfig) *cobra.Command

func NewMigrateCommand added in v0.21.0

func NewMigrateCommand(clientConfig clientcmd.ClientConfig) *cobra.Command

func NewRemoveVolumeCommand added in v0.40.1

func NewRemoveVolumeCommand(clientConfig clientcmd.ClientConfig) *cobra.Command

func NewRestartCommand added in v0.11.0

func NewRestartCommand(clientConfig clientcmd.ClientConfig) *cobra.Command

func NewStartCommand

func NewStartCommand(clientConfig clientcmd.ClientConfig) *cobra.Command

func NewStopCommand

func NewStopCommand(clientConfig clientcmd.ClientConfig) *cobra.Command

func NewUserListCommand added in v0.32.0

func NewUserListCommand(clientConfig clientcmd.ClientConfig) *cobra.Command

Types

type Command

type Command struct {
	// contains filtered or unexported fields
}

func (*Command) Run

func (o *Command) Run(args []string) error

Jump to

Keyboard shortcuts

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