flavors

package
v0.29.3-dev Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: MPL-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

func BaremetalCommands() *cli.Command

BaremetalCommands returns commands for managing baremetal GPU flavors

func VirtualCommands

func VirtualCommands() *cli.Command

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

Jump to

Keyboard shortcuts

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