github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/geminidb/v3/configurations/urls.go (about)

     1  package configurations
     2  
     3  import "github.com/huaweicloud/golangsdk"
     4  
     5  func applyURL(c *golangsdk.ServiceClient, configId string) string {
     6  	return c.ServiceURL("configurations", configId, "apply")
     7  }
     8  
     9  func getURL(c *golangsdk.ServiceClient, configId string) string {
    10  	return c.ServiceURL("configurations", configId)
    11  }
    12  
    13  func instanceConfigURL(c *golangsdk.ServiceClient, instanceId string) string {
    14  	return c.ServiceURL("instances", instanceId, "configurations")
    15  }