blob: 3c044028c82ec4e15e8f47f065fee6bec2b7bbc3 [file] [log] [blame]
feiskycf0c7fe2015-11-05 22:06:17 +08001package volumeactions
2
Krzysztof Szukiełojć3f41d082017-05-07 14:43:06 +02003import "gerrit.mcp.mirantis.net/debian/gophercloud.git"
feiskycf0c7fe2015-11-05 22:06:17 +08004
5func attachURL(c *gophercloud.ServiceClient, id string) string {
6 return c.ServiceURL("volumes", id, "action")
7}
8
Eugene Yakubovichb3a4f332016-10-13 11:01:06 -07009func beginDetachingURL(c *gophercloud.ServiceClient, id string) string {
10 return attachURL(c, id)
11}
12
feiskycf0c7fe2015-11-05 22:06:17 +080013func detachURL(c *gophercloud.ServiceClient, id string) string {
14 return attachURL(c, id)
15}
16
Joe Topjian48f36ae2017-02-20 14:36:44 -070017func uploadURL(c *gophercloud.ServiceClient, id string) string {
18 return attachURL(c, id)
19}
20
feiskycf0c7fe2015-11-05 22:06:17 +080021func reserveURL(c *gophercloud.ServiceClient, id string) string {
22 return attachURL(c, id)
23}
24
25func unreserveURL(c *gophercloud.ServiceClient, id string) string {
26 return attachURL(c, id)
27}
28
29func initializeConnectionURL(c *gophercloud.ServiceClient, id string) string {
30 return attachURL(c, id)
31}
32
33func teminateConnectionURL(c *gophercloud.ServiceClient, id string) string {
34 return attachURL(c, id)
35}
Mario Luana4d49302016-09-02 11:37:24 -040036
37func extendSizeURL(c *gophercloud.ServiceClient, id string) string {
38 return attachURL(c, id)
39}