blob: 38e21255f0cc29b481f7f4588d34c1a36db18c8f [file] [log] [blame]
package stackevents
import "gerrit.mcp.mirantis.net/debian/gophercloud.git"
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)
}