Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Cmd = &cobra.Command{
Use: "vm",
Short: "Manage virtual machines",
}
Cmd is the parent command for all VM operations.
Functions ¶
func FormatMemory ¶
FormatMemory converts bytes to a human-readable string.
func ParseMemory ¶
ParseMemory parses a human-readable memory string like "512M", "1G", "2048M" into bytes. Plain numbers are treated as mebibytes.
func ValidateName ¶
ValidateName checks that name is a valid VM name (a valid hostname).
Types ¶
This section is empty.