Documentation ¶
Overview ¶
orchestration_stackevents_v1
Index ¶
Constants ¶
View Source
const ListOutput = `` /* 1960-byte string literal not displayed */
ListOutput represents the response body from a List request.
Variables ¶
View Source
var ListExpected = []stackevents.Event{ { ResourceName: "hello_world", Time: time.Date(2015, 2, 5, 21, 33, 11, 0, time.UTC), Links: []golangsdk.Link{ { Href: "http://166.78.160.107:8004/v1/98606384f58d4ad0b3db7d0d779549ac/stacks/postman_stack/5f57cff9-93fc-424e-9f78-df0515e7f48b/resources/hello_world/events/06feb26f-9298-4a9b-8749-9d770e5d577a", Rel: "self", }, { Href: "http://166.78.160.107:8004/v1/98606384f58d4ad0b3db7d0d779549ac/stacks/postman_stack/5f57cff9-93fc-424e-9f78-df0515e7f48b/resources/hello_world", Rel: "resource", }, { Href: "http://166.78.160.107:8004/v1/98606384f58d4ad0b3db7d0d779549ac/stacks/postman_stack/5f57cff9-93fc-424e-9f78-df0515e7f48b", Rel: "stack", }, }, LogicalResourceID: "hello_world", ResourceStatusReason: "state changed", ResourceStatus: "CREATE_IN_PROGRESS", PhysicalResourceID: "", ID: "06feb26f-9298-4a9b-8749-9d770e5d577a", }, { ResourceName: "hello_world", Time: time.Date(2015, 2, 5, 21, 33, 27, 0, time.UTC), Links: []golangsdk.Link{ { Href: "http://166.78.160.107:8004/v1/98606384f58d4ad0b3db7d0d779549ac/stacks/postman_stack/5f57cff9-93fc-424e-9f78-df0515e7f48b/resources/hello_world/events/93940999-7d40-44ae-8de4-19624e7b8d18", Rel: "self", }, { Href: "http://166.78.160.107:8004/v1/98606384f58d4ad0b3db7d0d779549ac/stacks/postman_stack/5f57cff9-93fc-424e-9f78-df0515e7f48b/resources/hello_world", Rel: "resource", }, { Href: "http://166.78.160.107:8004/v1/98606384f58d4ad0b3db7d0d779549ac/stacks/postman_stack/5f57cff9-93fc-424e-9f78-df0515e7f48b", Rel: "stack", }, }, LogicalResourceID: "hello_world", ResourceStatusReason: "state changed", ResourceStatus: "CREATE_COMPLETE", PhysicalResourceID: "49181cd6-169a-4130-9455-31185bbfc5bf", ID: "93940999-7d40-44ae-8de4-19624e7b8d18", }, }
ListExpected represents the expected object from a List request.
Functions ¶
func HandleListSuccessfully ¶
HandleListSuccessfully creates an HTTP handler at `/stacks/hello_world/49181cd6-169a-4130-9455-31185bbfc5bf/events` on the test handler mux that responds with a `List` response.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.