Documentation
¶
Index ¶
- func NewAuthTokenClient(accessToken string) *http.Client
- type GithubClient
- func (c *GithubClient) CreatePullRequest(owner, repo string, title string, commitBranch string, baseBranch string, ...) (*gogithub.PullRequest, error)
- func (c *GithubClient) GenerateTree(owner, repo string, sourceFiles string, ref *gogithub.Reference) (tree *gogithub.Tree, err error)
- func (c *GithubClient) GetCommitBranchReference(owner, repo string, baseBranch string, commitBranch string) (ref *gogithub.Reference, err error)
- func (c *GithubClient) PushCommit(owner, repo string, authorName string, authorEmail string, ...) (commit *gogithub.Commit, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthTokenClient ¶
Types ¶
type GithubClient ¶
func NewClient ¶
func NewClient(accessToken string) *GithubClient
func NewEnterpriseClient ¶
func NewEnterpriseClient(baseURL string, accessToken string) *GithubClient
func (*GithubClient) CreatePullRequest ¶
func (c *GithubClient) CreatePullRequest(owner, repo string, title string, commitBranch string, baseBranch string, description string) (*gogithub.PullRequest, error)
func (*GithubClient) GenerateTree ¶
func (*GithubClient) GetCommitBranchReference ¶
Click to show internal directories.
Click to hide internal directories.