github.com/vnpaycloud-console/gophercloud/v2@v2.0.5/openstack/orchestration/v1/buildinfo/requests.go (about) 1 package buildinfo 2 3 import ( 4 "context" 5 6 "github.com/vnpaycloud-console/gophercloud/v2" 7 ) 8 9 // Get retreives data for the given stack template. 10 func Get(ctx context.Context, c *gophercloud.ServiceClient) (r GetResult) { 11 resp, err := c.Get(ctx, getURL(c), &r.Body, nil) 12 _, r.Header, r.Err = gophercloud.ParseResponse(resp, err) 13 return 14 }