Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Instance struct { // Instance ID. ID string `json:"id"` // Instance name. Name string `json:"name"` }
Instance is the structure that represents the detail of the DDS instnace.
type Job ¶
type Job struct { // Job ID. ID string `json:"id"` // Job name. Name string `json:"name"` // Status info. // + Running // + Completed // + Failed Status string `json:"status"` // Creation time, the format is "yyyy-mm-ddThh:mm:ssZ". Created string `json:"created"` // End time, the format is "yyyy-mm-ddThh:mm:ssZ". Ended string `json:"ended"` // The execution progress of the job. Progress string `json:"progress"` // The DDS instance info to which the job belongs. Instance Instance `json:"instance"` // Error information generated when the job fails to be executed. FailReason string `json:"fail_reason"` }
Job is the structure that represents the detail of the process job.
Click to show internal directories.
Click to hide internal directories.