blob: f78a8acde3629fc6fb51e1583c5cae0fef4b6cbb [file] [log] [blame]
package ssl
import (
"strconv"
"github.com/rackspace/gophercloud"
)
const (
path = "loadbalancers"
sslPath = "ssltermination"
certPath = "certificatemappings"
)
func rootURL(c *gophercloud.ServiceClient, id int) string {
return c.ServiceURL(path, strconv.Itoa(id), sslPath)
}
func certURL(c *gophercloud.ServiceClient, id int) string {
return c.ServiceURL(path, strconv.Itoa(id), sslPath, certPath)
}