flavors

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 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 Flavor

type Flavor struct {
	ID       string `json:"id"`
	Name     string `json:"name"`
	Ram      int    `json:"ram"`
	SpecCode string `json:"specCode"`
}

type ListResult

type ListResult struct {
	golangsdk.Result
}

func List

func List(client *golangsdk.ServiceClient, dataStoreID string, region string) (r ListResult)

list the flavors informations about a specified id of database

func (ListResult) Extract

func (lr ListResult) Extract() ([]Flavor, error)

Jump to

Keyboard shortcuts

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