Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { GetCommit(ctx context.Context, owner string, repo string, sha string) (*github.Commit, *github.Response, error) ListCommits(ctx context.Context, owner, repo string, opt *github.CommitsListOptions) ([]*github.RepositoryCommit, *github.Response, error) ListPullRequestsWithCommit(ctx context.Context, owner, repo, sha string, opt *github.PullRequestListOptions) ([]*github.PullRequest, *github.Response, error) GetPullRequest(ctx context.Context, owner string, repo string, number int) (*github.PullRequest, *github.Response, error) // TODO: get rid of that method, currently only used in some test case GetRepoCommit(ctx context.Context, owner, repo, sha string) (*github.RepositoryCommit, *github.Response, error) }
Client is used to talk to GitHub and query the repo/commit information needed to assemble the release notes
func NewRecorder ¶
func NewReplayer ¶
Click to show internal directories.
Click to hide internal directories.