coderabbit

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2026 License: MIT Imports: 14 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 WithWorkingDir

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

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

Jump to

Keyboard shortcuts

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