blob: c9afeb156f624316fc6e1a3dbad20e87827512e4 [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{
Jon Perritt9b81b8c2015-02-05 12:55:53 -070013 Href: "https://ord.orchestration.api.rackspacecloud.com/v1/864477/stacks/stackcreated/b663e18a-4767-4cdf-9db5-9c8cc13cc38a",
Jon Perritt034ef072015-02-03 13:14:44 -070014 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 {
Jon Perritt9b81b8c2015-02-05 12:55:53 -070026 "href": "https://ord.orchestration.api.rackspacecloud.com/v1/864477/stacks/stackcreated/b663e18a-4767-4cdf-9db5-9c8cc13cc38a",
Jon Perritt034ef072015-02-03 13:14:44 -070027 "rel": "self"
28 }
29 ]
30 }
31}
32`