Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisplayTasks ¶
DisplayTasks display issues as table output
Types ¶
type BranchLite ¶
type DevelopmentInfo ¶
type DevelopmentInfo struct { Detail []struct { Branches []struct { Name string `json:"name"` URL string `json:"url"` CreatePullRequestURL string `json:"createPullRequestUrl"` Repository struct { Name string `json:"name"` Avatar string `json:"avatar"` URL string `json:"url"` Commits []interface{} `json:"commits"` } `json:"repository"` LastCommit struct { ID string `json:"id"` DisplayID string `json:"displayId"` AuthorTimestamp string `json:"authorTimestamp"` Merge bool `json:"merge"` Files []interface{} `json:"files"` } `json:"lastCommit"` } `json:"branches"` PullRequests []struct { Author struct { Name string `json:"name"` Avatar string `json:"avatar"` } `json:"author"` ID string `json:"id"` Name string `json:"name"` CommentCount int `json:"commentCount"` Source struct { Branch string `json:"branch"` URL string `json:"url"` } `json:"source"` Destination struct { Branch string `json:"branch"` URL string `json:"url"` } `json:"destination"` Reviewers []interface{} `json:"reviewers"` Status string `json:"status"` URL string `json:"url"` LastUpdate string `json:"lastUpdate"` } `json:"pullRequests"` } `json:"detail"` }
type Issue ¶
type Issue struct { jira.Issue DevelopmentInfo DevelopmentInfo `json:"development_info"` }
Issue defines the properties of an issue to be listed
type Repository ¶
type Repository interface { // GetIssue returns the issue with given issue keys. GetIssue(string) (Issue, error) // GetAllIssues returns all issues using jql. GetAllIssues(string, int, bool) ([]Issue, error) }
Repository provides access to the beer and review storage.
type RepositoryChangelog ¶
Click to show internal directories.
Click to hide internal directories.