Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitAPIDao ¶
type GitAPIDao interface { HealthCheck() error CreatePullRequest(ctx context.Context, org, repo, headBranch, baseBranch, title, body string) (prNum int, err error) LabelPullRequest(ctx context.Context, org, repo string, prNum int, label string) (err error) MergePullRequest(ctx context.Context, org, repo string, prNum int) error DeleteBranch(ctx context.Context, org, repo, headBranch string) error }
type GitCommandDao ¶
type GitCommandDao interface { HealthCheck() error Clone(ctx context.Context, org, repo string) (dirPath string, err error) SwitchNewBranch(ctx context.Context, dirPath, branch string) error CommitAll(ctx context.Context, dirPath, commitMsg string) error Push(ctx context.Context, dirPath string) error Remove(ctx context.Context, dir string) (err error) }
type SlackMsgDao ¶
Click to show internal directories.
Click to hide internal directories.