blob: c20b48cfd6a7fe68ce695d8d0a000388a5f1e3ca [file] [log] [blame]
Jon Perrittefe6d1f2015-02-09 12:04:06 -07001package buildinfo
2
3import (
4 "github.com/racker/perigee"
5 "github.com/rackspace/gophercloud"
6)
7
8// Get retreives data for the given stack template.
9func Get(c *gophercloud.ServiceClient) GetResult {
10 var res GetResult
11 _, res.Err = perigee.Request("GET", getURL(c), perigee.Options{
12 MoreHeaders: c.AuthenticatedHeaders(),
13 Results: &res.Body,
14 OkCodes: []int{200},
15 })
16 return res
17}