1package backups 2 3import "github.com/gophercloud/gophercloud" 4 5func createURL(c *gophercloud.ServiceClient) string { 6 return c.ServiceURL("backups") 7} 8 9func deleteURL(c *gophercloud.ServiceClient, id string) string { 10 return c.ServiceURL("backups", id) 11} 12 13func getURL(c *gophercloud.ServiceClient, id string) string { 14 return c.ServiceURL("backups", id) 15} 16 17func listURL(c *gophercloud.ServiceClient) string { 18 return c.ServiceURL("backups") 19} 20 21func updateURL(c *gophercloud.ServiceClient, id string) string { 22 return c.ServiceURL("backups", id) 23} 24 25func restoreURL(c *gophercloud.ServiceClient, id string) string { 26 return c.ServiceURL("backups", id, "restore") 27} 28 29func exportURL(c *gophercloud.ServiceClient, id string) string { 30 return c.ServiceURL("backups", id, "export_record") 31} 32 33func importURL(c *gophercloud.ServiceClient) string { 34 return c.ServiceURL("backups", "import_record") 35} 36