github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/evs/v1/jobs/requests.go (about)

     1  package jobs
     2  
     3  import (
     4  	"github.com/huaweicloud/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  }