flavors

package
v0.0.0-...-d823fe1 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: Apache-2.0 Imports: 1 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RequestOpts golangsdk.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