github.com/opentelekomcloud/gophertelekomcloud@v0.9.3/openstack/sdrs/v1/protectedinstances/urls.go (about) 1 package protectedinstances 2 3 import "github.com/opentelekomcloud/gophertelekomcloud" 4 5 const rootPath = "protected-instances" 6 7 func rootURL(c *golangsdk.ServiceClient) string { 8 return c.ServiceURL(rootPath) 9 } 10 11 func resourceURL(c *golangsdk.ServiceClient, id string) string { 12 return c.ServiceURL(rootPath, id) 13 }