blob: e373fa1d809ea14daff1097fd2012c645fd87f34 [file] [log] [blame]
package acl
import (
"strconv"
"github.com/rackspace/gophercloud"
)
const (
path = "loadbalancers"
aclPath = "accesslist"
)
func resourceURL(c *gophercloud.ServiceClient, lbID, networkID int) string {
return c.ServiceURL(path, strconv.Itoa(lbID), aclPath, strconv.Itoa(networkID))
}
func rootURL(c *gophercloud.ServiceClient, lbID int) string {
return c.ServiceURL(path, strconv.Itoa(lbID), aclPath)
}