Jon Perritt | efe6d1f | 2015-02-09 12:04:06 -0700 | [diff] [blame] | 1 | package buildinfo |
| 2 | |
Ash Wilson | decfed7 | 2015-02-13 09:14:55 -0500 | [diff] [blame] | 3 | import "github.com/rackspace/gophercloud" |
Jon Perritt | efe6d1f | 2015-02-09 12:04:06 -0700 | [diff] [blame] | 4 | |
| 5 | // Get retreives data for the given stack template. |
| 6 | func Get(c *gophercloud.ServiceClient) GetResult { |
| 7 | var res GetResult |
Ash Wilson | decfed7 | 2015-02-13 09:14:55 -0500 | [diff] [blame] | 8 | _, res.Err = c.Request("GET", getURL(c), gophercloud.RequestOpts{ |
| 9 | JSONResponse: &res.Body, |
Jon Perritt | efe6d1f | 2015-02-09 12:04:06 -0700 | [diff] [blame] | 10 | }) |
| 11 | return res |
| 12 | } |