datastores

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 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 DataStore

type DataStore struct {
	ID        string `json:"id"`
	Name      string `json:"name"`
	DataStore string `json:"datastore"`
	Image     string `json:"image"`
	Packages  string `json:"packages"`
	Active    int    `json:"active"`
}

type ListResult

type ListResult struct {
	golangsdk.Result
}

func List

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

list the version informations about a specified type of database

func (ListResult) Extract

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

Jump to

Keyboard shortcuts

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