vm

package
v1.4.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 16 Imported by: 3

Documentation

Index

Constants

View Source
const (
	YAML = "yaml"
	JSON = "json"
)
View Source
const (
	COMMAND_ADDVOLUME = "addvolume"
)
View Source
const (
	COMMAND_EXPAND = "expand"
)
View Source
const COMMAND_FSLIST = "fslist"
View Source
const COMMAND_GUESTOSINFO = "guestosinfo"
View Source
const COMMAND_MIGRATE = "migrate"
View Source
const COMMAND_MIGRATE_CANCEL = "migrate-cancel"
View Source
const COMMAND_REMOVEVOLUME = "removevolume"
View Source
const COMMAND_RESTART = "restart"
View Source
const (
	COMMAND_START = "start"
)
View Source
const COMMAND_STOP = "stop"
View Source
const COMMAND_USERLIST = "userlist"

Variables

This section is empty.

Functions

func GetNamespaceAndClient added in v1.1.0

func GetNamespaceAndClient(clientConfig clientcmd.ClientConfig) (kubecli.KubevirtClient, string, error)

func NewAddVolumeCommand added in v0.40.1

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

func NewExpandCommand added in v1.0.0

func NewExpandCommand(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 NewMigrateCancelCommand added in v0.50.0

func NewMigrateCancelCommand(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
}

Jump to

Keyboard shortcuts

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