blob: 9c1859fd0b224690fa4d819c8b2a2598946b01f3 [file] [log] [blame]
package secgroups
import "github.com/rackspace/gophercloud"
const (
secgrouppath = "os-security-groups"
)
func resourceURL(c *gophercloud.ServiceClient, id string) string {
return c.ServiceURL(secgrouppath, id)
}
func rootURL(c *gophercloud.ServiceClient) string {
return c.ServiceURL(secgrouppath)
}
func listByServerURL(c *gophercloud.ServiceClient, serverID string) string {
return c.ServiceURL(secgrouppath, "servers", serverID, secgrouppath)
}