Documentation ¶
Overview ¶
orchestration_buildinfo_v1
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.BuildInfo{ API: buildinfo.Revision{ Revision: "2.4.5", }, Engine: buildinfo.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 ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.