Documentation ¶
Overview ¶
common extensions unit tests
Index ¶
Constants ¶
View Source
const ListOutput = `` /* 391-byte string literal not displayed */
ListOutput provides a single page of Extension results.
Variables ¶
View Source
var ExpectedExtensions = []extensions.Extension{ListedExtension}
ExpectedExtensions is a slice containing the Extension that should be parsed from ListOutput.
View Source
var ListedExtension = extensions.Extension{
Updated: "2013-04-18T00:00:00+00:00",
Name: "SchedulerHints",
Links: []gophercloud.Link{},
Namespace: "http://docs.openstack.org/block-service/ext/scheduler-hints/api/v2",
Alias: "OS-SCH-HNT",
Description: "Pass arbitrary key/value pairs to the scheduler.",
}
ListedExtension is the Extension that should be parsed from ListOutput.
Functions ¶
func HandleListExtensionsSuccessfully ¶
HandleListExtensionsSuccessfully creates an HTTP handler at `/extensions` on the test handler mux that response with a list containing a single tenant.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.