storagetype

package
v1.0.19 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2019 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 StorageTypeBuilder, databasesname string) pagination.Pager

Types

type ListOpts

type ListOpts struct {
	VersionName string `q:"version_name"`
}

func (ListOpts) ToStorageTypeListQuery

func (opts ListOpts) ToStorageTypeListQuery() (string, error)

type StorageType

type StorageType struct {
	Name     string            `json:"name"`
	AzStatus map[string]string `json:"az_status"`
}

type StorageTypeBuilder

type StorageTypeBuilder interface {
	ToStorageTypeListQuery() (string, error)
}

type StorageTypePage

type StorageTypePage struct {
	pagination.Offset
}

func (StorageTypePage) IsEmpty

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

type StorageTypeResp

type StorageTypeResp struct {
	StorageTypeList []StorageType `json:"storage_type" `
}

func ExtractStorageType

func ExtractStorageType(r pagination.Page) (StorageTypeResp, error)

type StorageTypeResult

type StorageTypeResult struct {
	gophercloud.Result
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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