Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Commands = cli.Command{ Name: "gpu", Usage: "Manage GPU resources", Description: "Parent command for GPU-related operations", Category: "gpu", Subcommands: []*cli.Command{ BaremetalCommands(), VirtualCommands(), }, }
Commands returns the list of GPU flavor commands
Functions ¶
func BaremetalCommands ¶
BaremetalCommands returns commands for managing baremetal GPU flavors
func VirtualCommands ¶
VirtualCommands returns commands for managing virtual GPU flavors
Types ¶
type BMFlavorOutput ¶
type BMFlavorOutput struct {
Name string `json:"name"`
Architecture *string `json:"architecture"`
Disabled bool `json:"disabled"`
Capacity int `json:"capacity"`
HardwareDescription map[string]interface{} `json:"hardware_description"`
HardwareProperties *flavors.HardwareProperties `json:"hardware_properties"`
SupportedFeatures *flavors.SupportedFeatures `json:"supported_features"`
Price *flavors.Price `json:"price,omitempty"`
}
BMFlavorOutput represents the output structure for baremetal flavors
type VMFlavorOutput ¶
type VMFlavorOutput struct {
Name string `json:"name"`
Architecture *string `json:"architecture"`
Disabled bool `json:"disabled"`
Capacity int `json:"capacity"`
HardwareDescription map[string]interface{} `json:"hardware_description"`
HardwareProperties *flavors.HardwareProperties `json:"hardware_properties"`
SupportedFeatures *flavors.SupportedFeatures `json:"supported_features"`
Price *flavors.Price `json:"price,omitempty"`
}
VMFlavorOutput represents the output structure for virtual flavors
Click to show internal directories.
Click to hide internal directories.