Jon Perritt | f95e3e4 | 2014-10-21 21:11:25 -0500 | [diff] [blame] | 1 | package virtualinterfaces |
Jon Perritt | 44b1ea2 | 2014-10-22 00:13:23 -0500 | [diff] [blame] | 2 | |
| 3 | import "github.com/rackspace/gophercloud" |
| 4 | |
| 5 | func listURL(c *gophercloud.ServiceClient, instanceID string) string { |
| 6 | return c.ServiceURL("servers", instanceID, "os-virtual-interfacesv2") |
| 7 | } |
| 8 | |
| 9 | func createURL(c *gophercloud.ServiceClient, instanceID string) string { |
| 10 | return c.ServiceURL("servers", instanceID, "os-virtual-interfacesv2") |
| 11 | } |
| 12 | |
| 13 | func deleteURL(c *gophercloud.ServiceClient, instanceID, interfaceID string) string { |
| 14 | return c.ServiceURL("servers", instanceID, "os-virtual-interfacesv2", interfaceID) |
| 15 | } |