github.com/opentelekomcloud/gophertelekomcloud@v0.9.3/openstack/sdrs/v1/protectiongroups/urls.go (about) 1 package protectiongroups 2 3 import "github.com/opentelekomcloud/gophertelekomcloud" 4 5 func rootURL(c *golangsdk.ServiceClient) string { 6 return c.ServiceURL("server-groups") 7 } 8 9 func resourceURL(c *golangsdk.ServiceClient, id string) string { 10 return c.ServiceURL("server-groups", id) 11 } 12 13 func actionURL(c *golangsdk.ServiceClient, id string) string { 14 return c.ServiceURL("server-groups", id, "action") 15 }