github.com/chnsz/golangsdk@v0.0.0-20240506093406-85a3fbfa605b/openstack/drs/v3/jobs/urls.go (about)

     1  package jobs
     2  
     3  import "github.com/chnsz/golangsdk"
     4  
     5  // POST /v3/{project_id}/jobs/batch-creation
     6  func createURL(c *golangsdk.ServiceClient) string {
     7  	return c.ServiceURL("jobs", "batch-creation")
     8  }
     9  
    10  // POST /v3/{project_id}/jobs/batch-status
    11  func statusURL(c *golangsdk.ServiceClient) string {
    12  	return c.ServiceURL("jobs", "batch-status")
    13  }
    14  
    15  // POST /v3/{project_id}/jobs/batch-detail
    16  func detailsURL(c *golangsdk.ServiceClient) string {
    17  	return c.ServiceURL("jobs", "batch-detail")
    18  }
    19  
    20  // DELETE  /v3/{project_id}/jobs/batch-jobs
    21  func deleteURL(c *golangsdk.ServiceClient) string {
    22  	return c.ServiceURL("jobs", "batch-jobs")
    23  }
    24  
    25  // POST /v3/{project_id}/jobs/batch-starting
    26  func startURL(c *golangsdk.ServiceClient) string {
    27  	return c.ServiceURL("jobs", "batch-starting")
    28  }
    29  
    30  // POST /v3/{project_id}/jobs/batch-connection
    31  func testConnectionsURL(c *golangsdk.ServiceClient) string {
    32  	return c.ServiceURL("jobs", "batch-connection")
    33  }
    34  
    35  // POST /v3/{project_id}/jobs/cluster/batch-connection
    36  func testClusterConnectionsURL(c *golangsdk.ServiceClient) string {
    37  	return c.ServiceURL("jobs", "cluster/batch-connection")
    38  }
    39  
    40  // PUT /v3/{project_id}/jobs/batch-modification
    41  func updateJobURL(c *golangsdk.ServiceClient) string {
    42  	return c.ServiceURL("jobs", "batch-modification")
    43  }
    44  
    45  // PUT /v3/{project_id}/jobs/batch-limit-speed
    46  func limitSpeedURL(c *golangsdk.ServiceClient) string {
    47  	return c.ServiceURL("jobs", "batch-limit-speed")
    48  }
    49  
    50  // POST /v3/{project_id}/jobs/batch-precheck
    51  func preCheckURL(c *golangsdk.ServiceClient) string {
    52  	return c.ServiceURL("jobs", "batch-precheck")
    53  }
    54  
    55  // POST /v3/{project_id}/jobs/batch-precheck-result
    56  func batchCheckResultsURL(c *golangsdk.ServiceClient) string {
    57  	return c.ServiceURL("jobs", "batch-precheck-result")
    58  }
    59  
    60  // POST /v3/{project_id}/jobs
    61  func listURL(c *golangsdk.ServiceClient) string {
    62  	return c.ServiceURL("jobs")
    63  }
    64  
    65  // POST /v3/{project_id}/jobs/batch-progress
    66  func progressURL(c *golangsdk.ServiceClient) string {
    67  	return c.ServiceURL("jobs", "batch-progress")
    68  }