github.com/chnsz/golangsdk@v0.0.0-20240506093406-85a3fbfa605b/openstack/mrs/v2/jobs/urls.go (about) 1 package jobs 2 3 import ( 4 "github.com/chnsz/golangsdk" 5 ) 6 7 func rootURL(c *golangsdk.ServiceClient, clusterId string) string { 8 return c.ServiceURL("clusters", clusterId, "job-executions") 9 } 10 11 func resourceURL(c *golangsdk.ServiceClient, clusterId, jobId string) string { 12 return c.ServiceURL("clusters", clusterId, "job-executions", jobId) 13 } 14 15 func deleteURL(c *golangsdk.ServiceClient, clusterId string) string { 16 return c.ServiceURL("clusters", clusterId, "job-executions", "batch-delete") 17 }