Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory interface {
BuildProcessor(ctx context.Context, t *task.PRAnalysis) (Processor, error)
}
func NewGithubFactory ¶
func NewGithubFactory() Factory
type GithubGoRepo ¶
type GithubGoRepo struct {
GithubGoRepoConfig
// contains filtered or unexported fields
}
func NewGithubGoRepo ¶
func NewGithubGoRepo(ctx context.Context, cfg GithubGoRepoConfig, analysisGUID, repoName, branch string) (*GithubGoRepo, error)
type GithubGoRepoConfig ¶
type GithubGoRepoConfig struct {
// contains filtered or unexported fields
}
type IgnoredError ¶
func (IgnoredError) Error ¶
func (e IgnoredError) Error() string
type JSONDuration ¶
func (JSONDuration) MarshalJSON ¶
func (d JSONDuration) MarshalJSON() ([]byte, error)
func (JSONDuration) String ¶
func (d JSONDuration) String() string
type NopProcessor ¶
type NopProcessor struct{}
type Repo ¶
type Repo struct {
RepoConfig
}
func NewRepo ¶
func NewRepo(cfg *RepoConfig) *Repo
func (Repo) Process ¶
func (r Repo) Process(ctx *RepoContext)
type RepoConfig ¶
type RepoConfig struct {
StaticRepoConfig
Log logutil.Log
Exec executors.Executor
Wi workspaces.Installer
Ec *experiments.Checker
}
type RepoContext ¶
type RepoProcessorFactory ¶
type RepoProcessorFactory struct {
// contains filtered or unexported fields
}
func NewRepoProcessorFactory ¶
func NewRepoProcessorFactory(cfg *StaticRepoConfig, noCtxLog logutil.Log) *RepoProcessorFactory
func (RepoProcessorFactory) BuildProcessor ¶
func (f RepoProcessorFactory) BuildProcessor(ctx *RepoContext) (*Repo, func(), error)
type StaticRepoConfig ¶
type Timing ¶
type Timing struct {
Name string
Duration JSONDuration `json:"DurationMs"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.