Documentation
¶
Index ¶
- type Repo
- func (r *Repo) AddAssignees(issueNumber int, assignees []string) error
- func (r *Repo) CreateHook(params *github.CreateHookParams) (*github.Hook, error)
- func (r *Repo) CreateLabel(params *github.CreateLabelParams) (*github.Label, error)
- func (r *Repo) CreateMilestone(params *github.CreateMilestoneParams) (*github.Milestone, error)
- func (r *Repo) CreateProject(params *github.CreateProjectParams) (*github.Project, error)
- func (r *Repo) CreateProjectCard(columnID int, params *github.CreateProjectCardParams) (*github.ProjectCard, error)
- func (r *Repo) CreateProjectColumn(projectID int, name string) (*github.ProjectColumn, error)
- func (r *Repo) DeleteMilestone(milestoneNumber int) error
- func (r *Repo) DeleteProject(projectID int) error
- func (r *Repo) Get() (*github.Repo, error)
- func (r *Repo) GetCompare(base, head string) (string, error)
- func (r *Repo) GetDiff(sha string) (string, error)
- func (r *Repo) GetHook(hookID int) (*github.Hook, error)
- func (r *Repo) GetImport(id int) (*github.ImportResult, error)
- func (r *Repo) GetIssue(issueNumber int) (*github.Issue, error)
- func (r *Repo) GetMilestone(milestoneNumber int) (*github.Milestone, error)
- func (r *Repo) GetProject(projectID int) (*github.Project, error)
- func (r *Repo) GetProjectCard(projectCardID int) (*github.ProjectCard, error)
- func (r *Repo) GetProjectColumn(projectColumnID int) (*github.ProjectColumn, error)
- func (r *Repo) GetPullReq(pullNumber int) (*github.PullReq, error)
- func (r *Repo) GetReview(pullNumber, reviewID int) (*github.Review, error)
- func (r *Repo) GetUser(name string) (*github.User, error)
- func (r *Repo) Import(x *github.Import) (*github.ImportResult, error)
- func (r *Repo) ListComments(issueNumber int) github.Comments
- func (r *Repo) ListEvents(issueNumber int) github.Events
- func (r *Repo) ListHooks() github.Hooks
- func (r *Repo) ListIssues() github.Issues
- func (r *Repo) ListLabels() github.Labels
- func (r *Repo) ListMembers() github.Members
- func (r *Repo) ListMilestones(params *github.ListMilestonesParams) github.Milestones
- func (r *Repo) ListProjectCards(columnID int) github.ProjectCards
- func (r *Repo) ListProjectColumns(projectID int) github.ProjectColumns
- func (r *Repo) ListProjects() github.Projects
- func (r *Repo) ListPullReqCommits(pullNumber int) github.Commits
- func (r *Repo) ListPullReqs() github.PullReqs
- func (r *Repo) ListReviewComments(pullNumber int) github.ReviewComments
- func (r *Repo) ListReviews(pullNumber int) github.Reviews
- func (r *Repo) MoveProjectCard(projectCardID int, params *github.MoveProjectCardParams) (*github.ProjectCard, error)
- func (r *Repo) NewPath(path string) *Repo
- func (r *Repo) Update(params *github.UpdateRepoParams) (*github.Repo, error)
- func (r *Repo) UpdateHook(hookID int, params *github.UpdateHookParams) (*github.Hook, error)
- func (r *Repo) UpdateLabel(name string, params *github.UpdateLabelParams) (*github.Label, error)
- func (r *Repo) UpdateMilestone(milestoneNumber int, params *github.UpdateMilestoneParams) (*github.Milestone, error)
- func (r *Repo) UpdateProject(projectID int, params *github.UpdateProjectParams) (*github.Project, error)
- func (r *Repo) UpdateProjectCard(projectCardID int, params *github.UpdateProjectCardParams) (*github.ProjectCard, error)
- func (r *Repo) UpdateProjectColumn(projectColumnID int, name string) (*github.ProjectColumn, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
Repo represents a GitHub repository.
func (*Repo) AddAssignees ¶
AddAssignees assigns users to the issue.
func (*Repo) CreateHook ¶
CreateHook creates a hook.
func (*Repo) CreateLabel ¶
CreateLabel creates a new label.
func (*Repo) CreateMilestone ¶
CreateMilestone creates a milestone.
func (*Repo) CreateProject ¶
CreateProject creates a project.
func (*Repo) CreateProjectCard ¶
func (r *Repo) CreateProjectCard(columnID int, params *github.CreateProjectCardParams) (*github.ProjectCard, error)
CreateProjectCard creates a project card.
func (*Repo) CreateProjectColumn ¶
CreateProjectColumn creates a project column.
func (*Repo) DeleteMilestone ¶
DeleteMilestone deletes the milestone.
func (*Repo) DeleteProject ¶
DeleteProject deletes the project.
func (*Repo) GetCompare ¶
GetCompare gets the compare.
func (*Repo) GetImport ¶
func (r *Repo) GetImport(id int) (*github.ImportResult, error)
GetImport gets the importing status.
func (*Repo) GetMilestone ¶
GetMilestone gets the milestone.
func (*Repo) GetProject ¶
GetProject gets the project.
func (*Repo) GetProjectCard ¶
func (r *Repo) GetProjectCard(projectCardID int) (*github.ProjectCard, error)
GetProjectCard gets the project card.
func (*Repo) GetProjectColumn ¶
func (r *Repo) GetProjectColumn(projectColumnID int) (*github.ProjectColumn, error)
GetProjectColumn gets the project column.
func (*Repo) GetPullReq ¶
GetPullReq gets the pull request.
func (*Repo) ListComments ¶
ListComments lists the comments.
func (*Repo) ListEvents ¶
ListEvents lists the events.
func (*Repo) ListMembers ¶
ListMembers lists the members.
func (*Repo) ListMilestones ¶
func (r *Repo) ListMilestones(params *github.ListMilestonesParams) github.Milestones
ListMilestones lists the milestones.
func (*Repo) ListProjectCards ¶
func (r *Repo) ListProjectCards(columnID int) github.ProjectCards
ListProjectCards lists the project cards.
func (*Repo) ListProjectColumns ¶
func (r *Repo) ListProjectColumns(projectID int) github.ProjectColumns
ListProjectColumns lists the project columns.
func (*Repo) ListProjects ¶
ListProjects lists the projects.
func (*Repo) ListPullReqCommits ¶
ListPullReqCommits lists the commits of a pull request.
func (*Repo) ListPullReqs ¶
ListPullReqs lists the pull requests.
func (*Repo) ListReviewComments ¶
func (r *Repo) ListReviewComments(pullNumber int) github.ReviewComments
ListReviewComments lists the review comments.
func (*Repo) ListReviews ¶
ListReviews lists the reviews.
func (*Repo) MoveProjectCard ¶
func (r *Repo) MoveProjectCard(projectCardID int, params *github.MoveProjectCardParams) (*github.ProjectCard, error)
MoveProjectCard moves the project card..
func (*Repo) UpdateHook ¶
UpdateHook updates the hook.
func (*Repo) UpdateLabel ¶
UpdateLabel creates a new label.
func (*Repo) UpdateMilestone ¶
func (r *Repo) UpdateMilestone(milestoneNumber int, params *github.UpdateMilestoneParams) (*github.Milestone, error)
UpdateMilestone updates the milestone.
func (*Repo) UpdateProject ¶
func (r *Repo) UpdateProject(projectID int, params *github.UpdateProjectParams) (*github.Project, error)
UpdateProject updates the project.
func (*Repo) UpdateProjectCard ¶
func (r *Repo) UpdateProjectCard(projectCardID int, params *github.UpdateProjectCardParams) (*github.ProjectCard, error)
UpdateProjectCard updates the project card..
func (*Repo) UpdateProjectColumn ¶
UpdateProjectColumn updates the project column..