Documentation
¶
Index ¶
- type CommandRunner
- type Option
- type Provider
- func (p *Provider) DisplayName() string
- func (p *Provider) FetchReviews(ctx context.Context, req provider.FetchRequest) ([]provider.ReviewItem, error)
- func (p *Provider) Name() string
- func (p *Provider) ResolveIssues(ctx context.Context, _ string, issues []provider.ResolvedIssue) error
- func (p *Provider) WatchStatus(ctx context.Context, req provider.WatchStatusRequest) (provider.WatchStatus, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Provider)
func WithBotLogin ¶
func WithCommandRunner ¶
func WithCommandRunner(run CommandRunner) Option
func WithWorkingDir ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func (*Provider) DisplayName ¶
func (*Provider) FetchReviews ¶
func (p *Provider) FetchReviews(ctx context.Context, req provider.FetchRequest) ([]provider.ReviewItem, error)
func (*Provider) ResolveIssues ¶
func (*Provider) WatchStatus ¶
func (p *Provider) WatchStatus( ctx context.Context, req provider.WatchStatusRequest, ) (provider.WatchStatus, error)
Click to show internal directories.
Click to hide internal directories.