Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(client GithubRepositoryClient) converter.Plugin
New returns a new conversion plugin.
Types ¶
type GithubRepositoryClient ¶
type GithubRepositoryClient interface { GetCommit(ctx context.Context, owner string, repo string, sha string) (*github.RepositoryCommit, *github.Response, error) CompareCommits(ctx context.Context, owner string, repo string, base string, head string) (*github.CommitsComparison, *github.Response, error) }
GithubRepositoryClient is an interface for retrieving commits from github
Click to show internal directories.
Click to hide internal directories.