Jamie Hannaford | 17d2f87 | 2014-11-24 12:20:33 +0100 | [diff] [blame] | 1 | package defsecrules |
| 2 | |
Jamie Hannaford | 2f22617 | 2014-11-25 11:52:25 +0100 | [diff] [blame] | 3 | import "github.com/rackspace/gophercloud" |
Jamie Hannaford | 17d2f87 | 2014-11-24 12:20:33 +0100 | [diff] [blame] | 4 | |
| 5 | const rulepath = "os-security-group-default-rules" |
| 6 | |
Jamie Hannaford | 2f22617 | 2014-11-25 11:52:25 +0100 | [diff] [blame] | 7 | func resourceURL(c *gophercloud.ServiceClient, id string) string { |
| 8 | return c.ServiceURL(rulepath, id) |
Jamie Hannaford | 17d2f87 | 2014-11-24 12:20:33 +0100 | [diff] [blame] | 9 | } |
| 10 | |
| 11 | func rootURL(c *gophercloud.ServiceClient) string { |
| 12 | return c.ServiceURL(rulepath) |
| 13 | } |