Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImportTrackerDump ¶
Schedules a tracker import.
Types ¶
type Comment ¶
type Comment struct { ID int `json:"id"` Created time.Time `json:"created"` Author Participant `json:"author"` Text string `json:"text"` }
type CommentSignatureData ¶
type Event ¶
type Event struct { ID int `json:"id"` Created time.Time `json:"created"` EventType []string `json:"event_type"` OldStatus *string `json:"old_status"` OldResolution *string `json:"old_resolution"` NewStatus *string `json:"new_status"` NewResolution *string `json:"new_resolution"` Participant *Participant `json:"participant"` Comment *Comment `json:"comment"` Label *string `json:"label"` ByUser *Participant `json:"by_user"` FromTicket *Ticket `json:"from_ticket"` Upstream string `json:"upstream"` Signature string `json:"X-Payload-Signature"` Nonce string `json:"X-Payload-Nonce"` }
type Participant ¶
type Ticket ¶
type Ticket struct { ID int `json:"id"` Created time.Time `json:"created"` Updated time.Time `json:"updated"` Submitter Participant `json:"submitter"` Ref string `json:"ref"` Subject string `json:"subject"` Body string `json:"body"` Status string `json:"status"` Resolution string `json:"resolution"` Labels []string `json:"labels"` Assignees []User `json:"assignees"` Upstream string `json:"upstream"` Signature string `json:"X-Payload-Signature"` Nonce string `json:"X-Payload-Nonce"` Events []Event `json:"events"` }
type TicketSignatureData ¶
type TrackerDump ¶
Click to show internal directories.
Click to hide internal directories.