Documentation
¶
Index ¶
- Variables
- func FormatTime(t time.Time) string
- func IssueDetails(issue *gitea.Issue)
- func IssuesList(issues []*gitea.Issue, output string)
- func IssuesPullsList(issues []*gitea.Issue, output string)
- func LabelsList(labels []*gitea.Label, output string)
- func LoginDetails(login *config.Login, output string)
- func LoginsList(logins []config.Login, output string)
- func MilestoneDetails(milestone *gitea.Milestone)
- func MilestonesList(miles []*gitea.Milestone, output string, state gitea.StateType)
- func NotificationsList(news []*gitea.NotificationThread, output string, showRepository bool)
- func OrganizationsList(organizations []*gitea.Organization, output string)
- func PullDetails(pr *gitea.PullRequest, reviews []*gitea.PullReview)
- func PullsList(prs []*gitea.PullRequest, output string)
- func ReleasesList(releases []*gitea.Release, output string)
- func RepoDetails(repo *gitea.Repository, topics []string)
- func ReposList(repos []*gitea.Repository, output string, fields []string)
- func TrackedTimesList(times []*gitea.TrackedTime, outputType string, from, until time.Time, ...)
Constants ¶
This section is empty.
Variables ¶
var ( // RepoFields are the available fields to print with ReposList() RepoFields []string )
Functions ¶
func FormatTime ¶
FormatTime give a date-time in local timezone if available
func IssueDetails ¶
IssueDetails print an issue rendered to stdout
func IssuesList ¶
IssuesList prints a listing of issues
func IssuesPullsList ¶
IssuesPullsList prints a listing of issues & pulls TODO combine with IssuesList
func LabelsList ¶
LabelsList prints a listing of labels
func LoginDetails ¶
LoginDetails print login entry to stdout
func LoginsList ¶
LoginsList prints a listing of logins
func MilestoneDetails ¶
MilestoneDetails print an milestone formatted to stdout
func MilestonesList ¶
MilestonesList prints a listing of milestones
func NotificationsList ¶
func NotificationsList(news []*gitea.NotificationThread, output string, showRepository bool)
NotificationsList prints a listing of notification threads
func OrganizationsList ¶
func OrganizationsList(organizations []*gitea.Organization, output string)
OrganizationsList prints a listing of the organizations
func PullDetails ¶
func PullDetails(pr *gitea.PullRequest, reviews []*gitea.PullReview)
PullDetails print an pull rendered to stdout
func PullsList ¶
func PullsList(prs []*gitea.PullRequest, output string)
PullsList prints a listing of pulls
func ReleasesList ¶
ReleasesList prints a listing of releases
func RepoDetails ¶
func RepoDetails(repo *gitea.Repository, topics []string)
RepoDetails print an repo formatted to stdout
func ReposList ¶
func ReposList(repos []*gitea.Repository, output string, fields []string)
ReposList prints a listing of the repos
func TrackedTimesList ¶
func TrackedTimesList(times []*gitea.TrackedTime, outputType string, from, until time.Time, printTotal bool)
TrackedTimesList print list of tracked times to stdout
Types ¶
This section is empty.