Adding content caching and adding missing tests
diff --git a/rackspace/lb/v1/lbs/urls.go b/rackspace/lb/v1/lbs/urls.go
index f647073..471a86b 100644
--- a/rackspace/lb/v1/lbs/urls.go
+++ b/rackspace/lb/v1/lbs/urls.go
@@ -13,6 +13,7 @@
logPath = "connectionlogging"
epPath = "errorpage"
stPath = "stats"
+ cachePath = "contentcaching"
)
func resourceURL(c *gophercloud.ServiceClient, id int) string {
@@ -42,3 +43,7 @@
func statsURL(c *gophercloud.ServiceClient, id int) string {
return c.ServiceURL(path, strconv.Itoa(id), stPath)
}
+
+func cacheURL(c *gophercloud.ServiceClient, id int) string {
+ return c.ServiceURL(path, strconv.Itoa(id), cachePath)
+}