Jon Perritt | 034ef07 | 2015-02-03 13:14:44 -0700 | [diff] [blame^] | 1 | package stacks |
| 2 | |
| 3 | import ( |
| 4 | "github.com/rackspace/gophercloud" |
| 5 | os "github.com/rackspace/gophercloud/openstack/orchestration/v1/stacks" |
| 6 | ) |
| 7 | |
| 8 | // CreateExpected represents the expected object from a Create request. |
| 9 | var CreateExpected = &os.CreatedStack{ |
| 10 | ID: "b663e18a-4767-4cdf-9db5-9c8cc13cc38a", |
| 11 | Links: []gophercloud.Link{ |
| 12 | gophercloud.Link{ |
| 13 | Href: "https://ord.orchestration.api.rackspacecloud.com/v1/864477/stacks/stackadopted/b663e18a-4767-4cdf-9db5-9c8cc13cc38a", |
| 14 | Rel: "self", |
| 15 | }, |
| 16 | }, |
| 17 | } |
| 18 | |
| 19 | // CreateOutput represents the response body from a Create request. |
| 20 | const CreateOutput = ` |
| 21 | { |
| 22 | "stack": { |
| 23 | "id": "b663e18a-4767-4cdf-9db5-9c8cc13cc38a", |
| 24 | "links": [ |
| 25 | { |
| 26 | "href": "https://ord.orchestration.api.rackspacecloud.com/v1/864477/stacks/stackadopted/b663e18a-4767-4cdf-9db5-9c8cc13cc38a", |
| 27 | "rel": "self" |
| 28 | } |
| 29 | ] |
| 30 | } |
| 31 | } |
| 32 | ` |