github.com/chnsz/golangsdk@v0.0.0-20240506093406-85a3fbfa605b/openstack/apigw/dedicated/v2/responses/urls.go (about) 1 package responses 2 3 import ( 4 "github.com/chnsz/golangsdk" 5 ) 6 7 func rootURL(c *golangsdk.ServiceClient, instanceId, groupId string) string { 8 return c.ServiceURL("instances", instanceId, "api-groups", groupId, "gateway-responses") 9 } 10 11 func resourceURL(c *golangsdk.ServiceClient, instanceId, groupId, respId string) string { 12 return c.ServiceURL("instances", instanceId, "api-groups", groupId, "gateway-responses", respId) 13 } 14 15 func specResponsesURL(c *golangsdk.ServiceClient, instanceId, groupId, respId, respType string) string { 16 return c.ServiceURL("instances", instanceId, "api-groups", groupId, "gateway-responses", respId, respType) 17 }