testing

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

db_datastores_v1

Index

Constants

This section is empty.

Variables

View Source
var (
	ListDSResp       = fmt.Sprintf(`{"datastores":[%s]}`, singleDSJSON)
	GetDSResp        = fmt.Sprintf(`{"datastore":%s}`, singleDSJSON)
	ListVersionsResp = fmt.Sprintf(`{%s}`, versionsJSON)
	GetVersionResp   = fmt.Sprintf(`{"version":%s}`, version1JSON)
)
View Source
var ExampleDatastore = datastores.Datastore{
	DefaultVersion: "c00000b0-00c0-0c00-00c0-000b000000cc",
	ID:             "10000000-0000-0000-0000-000000000001",
	Links: []gophercloud.Link{
		{Rel: "self", Href: "https://10.240.28.38:8779/v1.0/1234/datastores/10000000-0000-0000-0000-000000000001"},
		{Rel: "bookmark", Href: "https://10.240.28.38:8779/datastores/10000000-0000-0000-0000-000000000001"},
	},
	Name:     "mysql",
	Versions: ExampleVersions,
}
View Source
var ExampleVersion1 = datastores.Version{
	ID: "b00000b0-00b0-0b00-00b0-000b000000bb",
	Links: []gophercloud.Link{
		{Rel: "self", Href: "https://10.240.28.38:8779/v1.0/1234/datastores/versions/b00000b0-00b0-0b00-00b0-000b000000bb"},
		{Rel: "bookmark", Href: "https://10.240.28.38:8779/datastores/versions/b00000b0-00b0-0b00-00b0-000b000000bb"},
	},
	Name: "5.1",
}
View Source
var ExampleVersions = []datastores.Version{ExampleVersion1, exampleVersion2}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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