Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetResult ¶
GetResult contains the response body and error from a Get request
func GetJobDetails ¶
func GetJobDetails(client *golangsdk.ServiceClient, jobID string) (r GetResult)
GetJobDetails retrieves the Job with the provided jobID. To extract the Job object from the response, call the ExtractJob method on the GetResult.
func (GetResult) ExtractJob ¶
ExtractJob will get the *Job object out of the GetResult
type Job ¶
type Job struct { Status string `json:"status"` Entities JobEntity `json:"entities"` JobID string `json:"job_id"` JobType string `json:"job_type"` ErrorCode string `json:"error_code"` FailReason string `json:"fail_reason"` Error ErrorInfo `json:"error"` BeginTime string `json:"begin_time"` EndTime string `json:"end_time"` }
Job object contains the response to a Get request
Click to show internal directories.
Click to hide internal directories.