Documentation
¶
Index ¶
Constants ¶
View Source
const IssuesPerPage = 100
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
GetIssue(ctx context.Context, orgRepo string, issue int) (*Issue, error)
GetIssues(ctx context.Context, orgRepo string, options IssueListOptions, page int) ([]*Issue, error)
UpdateLabels(ctx context.Context, orgRepo string, issue int, labels []string) error
UpdateIssueState(ctx context.Context, orgRepo string, issue int, state string) error
Ping(ctx context.Context) error
Comment(ctx context.Context, repo string, issueNumber int, message string) error
ListLabels(ctx context.Context, orgRepo string) ([]*Label, error)
UpdateLabel(ctx context.Context, orgRepo string, originalName string, label *Label) error
DeleteLabel(ctx context.Context, orgRepo string, name string) error
CreateLabel(ctx context.Context, repo string, label *Label) error
ListMilestones(ctx context.Context, orgRepo string) ([]*Milestone, error)
UpdateMilestone(ctx context.Context, orgRepo string, number int, milestone *Milestone) error
DeleteMilestone(ctx context.Context, orgRepo string, number int) error
CreateMilestone(ctx context.Context, repo string, milestone *Milestone) error
}
type Issue ¶
func (*Issue) RemoveLabel ¶
Click to show internal directories.
Click to hide internal directories.