specs

package
v0.7.6 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

func List(restClient *client.RestClient, requestOpts *client.RequestOpts) (*[]VMSpecInfo, error)

Types

type VMSpecInfo

type VMSpecInfo struct {
	Id      string `json:"id" required:"true"`
	Name    string `json:"name" required:"true"`
	Cpu     int    `json:"cpu" required:"true"`
	Mem     int    `json:"mem" required:"true"`
	Disk    int    `json:"disk" required:"true"`
	GPU     int    `json:"gpu" required:"true"`
	Enabled int    `json:"enabled" required:"true"`
}

Jump to

Keyboard shortcuts

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