Documentation ¶
Overview ¶
orchestration_stacktemplates_v1
Index ¶
Constants ¶
View Source
const GetOutput = `` /* 462-byte string literal not displayed */
GetOutput represents the response body from a Get request.
View Source
const ValidateOutput = `` /* 210-byte string literal not displayed */
ValidateOutput represents the response body from a Validate request.
Variables ¶
View Source
var GetExpected = "" /* 526-byte string literal not displayed */
GetExpected represents the expected object from a Get request.
View Source
var ValidateExpected = &stacktemplates.ValidatedTemplate{ Description: "Simple template to test heat commands", Parameters: map[string]interface{}{ "flavor": map[string]interface{}{ "Default": "m1.tiny", "Type": "String", "NoEcho": "false", "Description": "", "Label": "flavor", }, }, }
ValidateExpected represents the expected object from a Validate request.
Functions ¶
func HandleGetSuccessfully ¶
HandleGetSuccessfully creates an HTTP handler at `/stacks/postman_stack/16ef0584-4458-41eb-87c8-0dc8d5f66c87/template` on the test handler mux that responds with a `Get` response.
func HandleValidateSuccessfully ¶
HandleValidateSuccessfully creates an HTTP handler at `/validate` on the test handler mux that responds with a `Validate` response.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.