Documentation
¶
Index ¶
- type Bot
- func (b *Bot) GetIndexManager() *indexer.IndexManager
- func (b *Bot) HandleGitHubPullRequest(ctx context.Context, event *github.PullRequestEvent) error
- func (b *Bot) HandleGitLabMergeRequest(ctx context.Context, event *gitlab.MergeEvent) error
- func (b *Bot) HandleGiteaPullRequest(ctx context.Context, event *gitea.HookPullRequestEvent) error
- func (b *Bot) HandlePullRequestEvent(ctx context.Context, event *github.PullRequestEvent) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
type Bot struct {
// contains filtered or unexported fields
}
Bot handles the code review logic
func (*Bot) GetIndexManager ¶
func (b *Bot) GetIndexManager() *indexer.IndexManager
GetIndexManager 获取索引管理器
func (*Bot) HandleGitHubPullRequest ¶
HandleGitHubPullRequest handles GitHub pull request events
func (*Bot) HandleGitLabMergeRequest ¶
HandleGitLabMergeRequest handles GitLab merge request events
func (*Bot) HandleGiteaPullRequest ¶
HandleGiteaPullRequest handles Gitea pull request events
func (*Bot) HandlePullRequestEvent ¶
HandlePullRequestEvent handles GitHub pull request events
Click to show internal directories.
Click to hide internal directories.