blob: 6b6b33089406ed60462f1c400d3e9d84f954ef47 [file] [log] [blame]
Jon Perritt7cbb42c2015-02-08 21:13:08 -07001package stackevents
2
Jon Perritt27249f42016-02-18 10:35:59 -06003import "github.com/gophercloud/gophercloud"
Jon Perritt7cbb42c2015-02-08 21:13:08 -07004
5func findURL(c *gophercloud.ServiceClient, stackName string) string {
6 return c.ServiceURL("stacks", stackName, "events")
7}
8
9func listURL(c *gophercloud.ServiceClient, stackName, stackID string) string {
10 return c.ServiceURL("stacks", stackName, stackID, "events")
11}
12
13func listResourceEventsURL(c *gophercloud.ServiceClient, stackName, stackID, resourceName string) string {
14 return c.ServiceURL("stacks", stackName, stackID, "resources", resourceName, "events")
15}
16
17func getURL(c *gophercloud.ServiceClient, stackName, stackID, resourceName, eventID string) string {
18 return c.ServiceURL("stacks", stackName, stackID, "resources", resourceName, "events", eventID)
19}