1package imageimport 2 3import "github.com/gophercloud/gophercloud" 4 5const ( 6 rootPath = "images" 7 infoPath = "info" 8 resourcePath = "import" 9) 10 11func infoURL(c *gophercloud.ServiceClient) string { 12 return c.ServiceURL(infoPath, resourcePath) 13} 14 15func importURL(c *gophercloud.ServiceClient, imageID string) string { 16 return c.ServiceURL(rootPath, imageID, resourcePath) 17} 18