flavors

package
v0.0.0-...-57791d6 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RequestOpts = golangsdk.RequestOpts{
	MoreHeaders: map[string]string{"Content-Type": "application/json", "X-Language": "en-us"},
}

Functions

This section is empty.

Types

type NodeType

type NodeType struct {
	Detail   []TypeDetail `json:"detail"`
	Id       string       `json:"id"`
	SpecName string       `json:"spec_name"`
}

type NodeTypes

type NodeTypes struct {
	NodeTypes []NodeType `json:"node_types"`
}

func ListNodeTypes

func ListNodeTypes(c *golangsdk.ServiceClient) (*NodeTypes, error)

type TypeDetail

type TypeDetail struct {
	Unit  string `json:"unit"`
	Type  string `json:"type"`
	Value string `json:"value"`
}

Jump to

Keyboard shortcuts

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