github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/rds/v3/instances/urls.go (about) 1 package instances 2 3 import "github.com/huaweicloud/golangsdk" 4 5 func createURL(c *golangsdk.ServiceClient) string { 6 return c.ServiceURL("instances") 7 } 8 9 func deleteURL(c *golangsdk.ServiceClient, serverID string) string { 10 return c.ServiceURL("instances", serverID) 11 } 12 13 func listURL(c *golangsdk.ServiceClient) string { 14 return c.ServiceURL("instances") 15 } 16 17 func updateURL(c *golangsdk.ServiceClient, instancesId string, updata string) string { 18 return c.ServiceURL("instances", instancesId, updata) 19 } 20 21 func jobURL(c *golangsdk.ServiceClient) string { 22 return c.ServiceURL("jobs") 23 }