blob: c23f726f0f9d695af20abe162b3c39b237886b7d [file] [log] [blame]
Jon Perritt034ef072015-02-03 13:14:44 -07001package stacks
2
3import (
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.
9var 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.
20const 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`