Documentation ¶ Index ¶ type Runner type ScanContext type Worker func New(q *queue.Queue, r Runner, concurrency int, cfg *config.Config, ...) *Worker func (w *Worker) Start() func (w *Worker) Stop() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Runner ¶ type Runner interface { Run(ctx context.Context, params *runner.RunParams) (*storage.RunResult, error) } type ScanContext ¶ type ScanContext struct { ProjectName string ProjectURL string StackPath string ScanID string CommitSHA string WorkspacePath string TFVersion string TGVersion string Auth transport.AuthMethod Scan *queue.Scan } type Worker ¶ type Worker struct { // contains filtered or unexported fields } func New ¶ func New(q *queue.Queue, r Runner, concurrency int, cfg *config.Config, provider projects.Provider) *Worker func (*Worker) Start ¶ func (w *Worker) Start() func (*Worker) Stop ¶ func (w *Worker) Stop() Source Files ¶ View all Source files context_resolver.goexecutor.goprocess.goreporter.gotypes.goworker.go Click to show internal directories. Click to hide internal directories.