Documentation ¶ Index ¶ type GitHub func New(opts GitHub) *GitHub func (c GitHub) CreatePullRequest(ctx context.Context, remoteURL, fromBranch, toBranch string, ...) (string, error) func (c GitHub) ListPullRequests(ctx context.Context, remoteURL string, user string) ([]spi.PullRequest, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type GitHub ¶ type GitHub struct { ApiURL *url.URL AccessToken string // contains filtered or unexported fields } func New ¶ added in v0.4.0 func New(opts GitHub) *GitHub func (GitHub) CreatePullRequest ¶ func (c GitHub) CreatePullRequest(ctx context.Context, remoteURL, fromBranch, toBranch string, title, body string) (string, error) func (GitHub) ListPullRequests ¶ added in v0.4.0 func (c GitHub) ListPullRequests(ctx context.Context, remoteURL string, user string) ([]spi.PullRequest, error) Source Files ¶ View all Source files github.go Click to show internal directories. Click to hide internal directories.