github.com/chnsz/golangsdk@v0.0.0-20240506093406-85a3fbfa605b/openstack/evs/v1/jobs/requests.go (about)

     1  package jobs
     2  
     3  import (
     4  	"github.com/chnsz/golangsdk"
     5  )
     6  
     7  // GetJobDetails retrieves the Job with the provided jobID. To extract the Job object
     8  // from the response, call the ExtractJob method on the GetResult.
     9  func GetJobDetails(client *golangsdk.ServiceClient, jobID string) (r GetResult) {
    10  	_, r.Err = client.Get(jobURL(client, jobID), &r.Body, nil)
    11  	return
    12  }