flavors

package
v1.0.23 Latest Latest
Warning

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

Go to latest
Published: May 9, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

func List(client *gophercloud.ServiceClient, opts DbFlavorsBuilder, databasename string) pagination.Pager

Types

type DbFlavorsBuilder

type DbFlavorsBuilder interface {
	ToDbFlavorsListQuery() (string, error)
}

type DbFlavorsOpts

type DbFlavorsOpts struct {
	Versionname string `q:"version_name"`
}

func (DbFlavorsOpts) ToDbFlavorsListQuery

func (opts DbFlavorsOpts) ToDbFlavorsListQuery() (string, error)

type DbFlavorsPage

type DbFlavorsPage struct {
	pagination.Offset
}

func (DbFlavorsPage) IsEmpty

func (r DbFlavorsPage) IsEmpty() (bool, error)

type DbFlavorsResp

type DbFlavorsResp struct {
	Flavorslist []Flavors `json:"flavors"`
}

func ExtractDbFlavors

func ExtractDbFlavors(r pagination.Page) (DbFlavorsResp, error)

type Flavors

type Flavors struct {
	Vcpus        string            `json:"vcpus" `
	Ram          int               `json:"ram" `
	Speccode     string            `json:"spec_code"  `
	Instancemode string            `json:"instance_mode" `
	Azstatus     map[string]string `json:"az_status" `
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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