Documentation ¶
Overview ¶
Package buildinfo provides build information about heat deployments.
Index ¶
Constants ¶
View Source
const GetOutput = `
{
"api": {
"revision": "2.4.5"
},
"engine": {
"revision": "1.2.1"
}
}`
GetOutput represents the response body from a Get request.
Variables ¶
View Source
var GetExpected = &BuildInfo{ API: Revision{ Revision: "2.4.5", }, Engine: Revision{ Revision: "1.2.1", }, }
GetExpected represents the expected object from a Get request.
Functions ¶
func HandleGetSuccessfully ¶
HandleGetSuccessfully creates an HTTP handler at `/build_info` on the test handler mux that responds with a `Get` response.
Types ¶
type GetResult ¶
type GetResult struct {
gophercloud.Result
}
GetResult represents the result of a Get operation.
func Get ¶
func Get(c *gophercloud.ServiceClient) GetResult
Get retreives data for the given stack template.
Click to show internal directories.
Click to hide internal directories.