blob: 8b5eceb1704c2eb2766253b666aacc5458d9fb01 [file] [log] [blame]
package stackevents
import "github.com/rackspace/gophercloud"
func findURL(c *gophercloud.ServiceClient, stackName string) string {
return c.ServiceURL("stacks", stackName, "events")
}
func listURL(c *gophercloud.ServiceClient, stackName, stackID string) string {
return c.ServiceURL("stacks", stackName, stackID, "events")
}
func listResourceEventsURL(c *gophercloud.ServiceClient, stackName, stackID, resourceName string) string {
return c.ServiceURL("stacks", stackName, stackID, "resources", resourceName, "events")
}
func getURL(c *gophercloud.ServiceClient, stackName, stackID, resourceName, eventID string) string {
return c.ServiceURL("stacks", stackName, stackID, "resources", resourceName, "events", eventID)
}