commit | 276a032ee4f9c3b85cc28c6b9cfb7a499cdc21fe | [log] [tgz] |
---|---|---|
author | Jamie Hannaford <jamie.hannaford@rackspace.com> | Thu Nov 06 14:26:12 2014 +0100 |
committer | Jamie Hannaford <jamie.hannaford@rackspace.com> | Fri Nov 07 14:02:01 2014 +0100 |
tree | 149d49cb50fa18bc91e87204a3cbec1284544216 | |
parent | 1ba046f41d056fb6eb0b1dfba873af751c70263b [diff] [blame] |
Beginning work on SSL termination :lock:
diff --git a/rackspace/lb/v1/ssl/urls.go b/rackspace/lb/v1/ssl/urls.go new file mode 100644 index 0000000..40f5dff --- /dev/null +++ b/rackspace/lb/v1/ssl/urls.go
@@ -0,0 +1,16 @@ +package throttle + +import ( + "strconv" + + "github.com/rackspace/gophercloud" +) + +const ( + path = "loadbalancers" + sslPath = "ssltermination" +) + +func rootURL(c *gophercloud.ServiceClient, id int) string { + return c.ServiceURL(path, strconv.Itoa(id), sslPath) +}