Jon Perritt | 7cbb42c | 2015-02-08 21:13:08 -0700 | [diff] [blame] | 1 | package stackevents |
| 2 | |
| 3 | import "github.com/rackspace/gophercloud" |
| 4 | |
| 5 | func findURL(c *gophercloud.ServiceClient, stackName string) string { |
| 6 | return c.ServiceURL("stacks", stackName, "events") |
| 7 | } |
| 8 | |
| 9 | func listURL(c *gophercloud.ServiceClient, stackName, stackID string) string { |
| 10 | return c.ServiceURL("stacks", stackName, stackID, "events") |
| 11 | } |
| 12 | |
| 13 | func listResourceEventsURL(c *gophercloud.ServiceClient, stackName, stackID, resourceName string) string { |
| 14 | return c.ServiceURL("stacks", stackName, stackID, "resources", resourceName, "events") |
| 15 | } |
| 16 | |
| 17 | func getURL(c *gophercloud.ServiceClient, stackName, stackID, resourceName, eventID string) string { |
| 18 | return c.ServiceURL("stacks", stackName, stackID, "resources", resourceName, "events", eventID) |
| 19 | } |