coderabbit

package
v0.2.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandRunner

type CommandRunner func(ctx context.Context, args ...string) ([]byte, error)

type Option

type Option func(*Provider)

func WithBotLogin

func WithBotLogin(login string) Option

func WithCommandRunner

func WithCommandRunner(run CommandRunner) Option

func WithGitCommandRunner added in v0.2.8

func WithGitCommandRunner(run CommandRunner) Option

func WithWorkingDir added in v0.2.0

func WithWorkingDir(dir string) Option

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

func New

func New(opts ...Option) *Provider

func (*Provider) DisplayName added in v0.1.11

func (p *Provider) DisplayName() string

func (*Provider) FetchReviews

func (p *Provider) FetchReviews(ctx context.Context, req provider.FetchRequest) ([]provider.ReviewItem, error)

func (*Provider) Name

func (p *Provider) Name() string

func (*Provider) ResolveIssues

func (p *Provider) ResolveIssues(ctx context.Context, _ string, issues []provider.ResolvedIssue) error

func (*Provider) WatchStatus added in v0.2.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL