Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubContentService ¶
type GithubContentService struct {
// contains filtered or unexported fields
}
func NewGithubContentService ¶
func NewGithubContentService(client *github.Client) *GithubContentService
func (GithubContentService) GetFile ¶
func (g GithubContentService) GetFile(ctx context.Context, repo githubDomain.Repository, path string) (*githubDomain.File, error)
func (GithubContentService) UpdateContent ¶
func (g GithubContentService) UpdateContent(ctx context.Context, repo githubDomain.Repository, branch string, file *githubDomain.File) error
type GithubPullRequestService ¶
type GithubPullRequestService struct {
// contains filtered or unexported fields
}
func NewGithubPullRequestService ¶
func NewGithubPullRequestService(client *github.Client) *GithubPullRequestService
func (GithubPullRequestService) Create ¶
func (g GithubPullRequestService) Create(ctx context.Context, repo githubDomain.Repository, targetBranch string, pullRequestTemplate githubDomain.PullRequestTemplate) (githubDomain.PullRequest, error)
func (GithubPullRequestService) RequestReview ¶
func (g GithubPullRequestService) RequestReview(ctx context.Context, repo githubDomain.Repository, pr githubDomain.PullRequest, prTemplate githubDomain.PullRequestTemplate) error
type GithubRepositoryService ¶
type GithubRepositoryService struct {
// contains filtered or unexported fields
}
func NewGithubRepositoryService ¶
func NewGithubRepositoryService(client *github.Client) *GithubRepositoryService
func (GithubRepositoryService) CreateBranchFromSourceBranch ¶
func (g GithubRepositoryService) CreateBranchFromSourceBranch( ctx context.Context, repo *githubDomain.Repository, branchName string, ) error
func (GithubRepositoryService) GetRepository ¶
func (g GithubRepositoryService) GetRepository(ctx context.Context, owner, name, sourceBranch string) (*githubDomain.Repository, error)
Click to show internal directories.
Click to hide internal directories.