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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

func List(client *golangsdk.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.SinglePageBase
}

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" `
}

Jump to

Keyboard shortcuts

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