Documentation ¶
Index ¶
- Constants
- func GetNamespaceAndClient(clientConfig clientcmd.ClientConfig) (kubecli.KubevirtClient, string, error)
- func NewAddVolumeCommand(clientConfig clientcmd.ClientConfig) *cobra.Command
- func NewExpandCommand(clientConfig clientcmd.ClientConfig) *cobra.Command
- func NewFSListCommand(clientConfig clientcmd.ClientConfig) *cobra.Command
- func NewGuestOsInfoCommand(clientConfig clientcmd.ClientConfig) *cobra.Command
- func NewMigrateCancelCommand(clientConfig clientcmd.ClientConfig) *cobra.Command
- func NewMigrateCommand(clientConfig clientcmd.ClientConfig) *cobra.Command
- func NewRemoveVolumeCommand(clientConfig clientcmd.ClientConfig) *cobra.Command
- func NewRestartCommand(clientConfig clientcmd.ClientConfig) *cobra.Command
- func NewStartCommand(clientConfig clientcmd.ClientConfig) *cobra.Command
- func NewStopCommand(clientConfig clientcmd.ClientConfig) *cobra.Command
- func NewUserListCommand(clientConfig clientcmd.ClientConfig) *cobra.Command
- type Command
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 ¶
Click to show internal directories.
Click to hide internal directories.