Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { CreatePullRequest(ctx context.Context, pr NewPullRequest) (PullRequest, error) TestConnection(ctx context.Context) error GitCredentialsForRepo(ctx context.Context, repo RepoRef) (git.Credentials, error) }
type NewPullRequest ¶
type PullRequest ¶
type PullRequest struct { RepoRef ID int64 Number int URL string Title string Description string Head string Base string Commit git.Commit }
func CreatePullRequest ¶
func CreatePullRequest(ctx context.Context, gh *github.Client, pr NewPullRequest) (PullRequest, error)
type RepoRefSlim ¶
func (RepoRefSlim) String ¶
func (r RepoRefSlim) String() string
Click to show internal directories.
Click to hide internal directories.