Documentation
¶
Index ¶
- type GitService
- func (g GitService) CreateBlob(ctx context.Context, owner string, repo string, blob *github.Blob) (*github.Blob, *github.Response, error)
- func (g GitService) CreateCommit(ctx context.Context, owner string, repo string, commit *github.Commit, ...) (*github.Commit, *github.Response, error)
- func (g GitService) CreateRef(ctx context.Context, owner string, repo string, ref *github.Reference) (*github.Reference, *github.Response, error)
- func (g GitService) CreateTree(ctx context.Context, owner string, repo string, baseTree string, ...) (*github.Tree, *github.Response, error)
- func (g GitService) UpdateRef(ctx context.Context, owner string, repo string, ref *github.Reference, ...) (*github.Reference, *github.Response, error)
- type PullRequestsService
- func (m *PullRequestsService) Create(ctx context.Context, owner string, repo string, pr *github.NewPullRequest) (*github.PullRequest, *github.Response, error)
- func (m *PullRequestsService) Edit(ctx context.Context, owner string, repo string, number int, ...) (*github.PullRequest, *github.Response, error)
- func (m *PullRequestsService) List(ctx context.Context, owner string, repo string, ...) ([]*github.PullRequest, *github.Response, error)
- type RepositoryService
- func (r *RepositoryService) CompareCommits(ctx context.Context, owner string, repo string, base string, head string, ...) (*github.CommitsComparison, *github.Response, error)
- func (r *RepositoryService) Get(ctx context.Context, owner string, repo string) (*github.Repository, *github.Response, error)
- func (r *RepositoryService) GetBranch(ctx context.Context, owner string, repo string, branch string, ...) (*github.Branch, *github.Response, error)
- func (r *RepositoryService) ListCommits(ctx context.Context, owner string, repo string, ...) ([]*github.RepositoryCommit, *github.Response, error)
- func (r *RepositoryService) ListTags(ctx context.Context, owner string, repo string, opts *github.ListOptions) ([]*github.RepositoryTag, *github.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitService ¶
func (GitService) CreateBlob ¶
func (GitService) CreateCommit ¶
func (GitService) CreateTree ¶
type PullRequestsService ¶
type PullRequestsService struct { Inner error InnerEdit error PullRequests []*github.PullRequest }
func (*PullRequestsService) Create ¶
func (m *PullRequestsService) Create(ctx context.Context, owner string, repo string, pr *github.NewPullRequest) (*github.PullRequest, *github.Response, error)
func (*PullRequestsService) Edit ¶
func (m *PullRequestsService) Edit(ctx context.Context, owner string, repo string, number int, pr *github.PullRequest) (*github.PullRequest, *github.Response, error)
func (*PullRequestsService) List ¶
func (m *PullRequestsService) List(ctx context.Context, owner string, repo string, opts *github.PullRequestListOptions) ([]*github.PullRequest, *github.Response, error)
type RepositoryService ¶
type RepositoryService struct { Inner error CompareError error GetBranchError func(ctx context.Context, owner string, repo string, branch string, maxRedirects int) error GetError error Commits []*github.RepositoryCommit Tags []*github.RepositoryTag Comparison *github.CommitsComparison }
func (*RepositoryService) CompareCommits ¶
func (r *RepositoryService) CompareCommits(ctx context.Context, owner string, repo string, base string, head string, opts *github.ListOptions) (*github.CommitsComparison, *github.Response, error)
func (*RepositoryService) Get ¶
func (r *RepositoryService) Get(ctx context.Context, owner string, repo string) (*github.Repository, *github.Response, error)
func (*RepositoryService) ListCommits ¶
func (r *RepositoryService) ListCommits(ctx context.Context, owner string, repo string, opts *github.CommitsListOptions) ([]*github.RepositoryCommit, *github.Response, error)
func (*RepositoryService) ListTags ¶
func (r *RepositoryService) ListTags(ctx context.Context, owner string, repo string, opts *github.ListOptions) ([]*github.RepositoryTag, *github.Response, error)
Click to show internal directories.
Click to hide internal directories.