Documentation ¶
Index ¶
- func WithErrorReporter(errorReporter observability.ErrorReporter) func(*analysisOrchestrator)
- func WithFlow(flow string) func(*analysisOrchestrator)
- func WithInstrumentor(instrumentor observability.Instrumentor) func(*analysisOrchestrator)
- func WithLogger(logger *zerolog.Logger) func(*analysisOrchestrator)
- func WithTrackerFactory(factory scan.TrackerFactory) func(*analysisOrchestrator)
- type AnalysisOrchestrator
- type OptionFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithErrorReporter ¶ added in v1.7.0
func WithErrorReporter(errorReporter observability.ErrorReporter) func(*analysisOrchestrator)
func WithInstrumentor ¶ added in v1.7.0
func WithInstrumentor(instrumentor observability.Instrumentor) func(*analysisOrchestrator)
func WithLogger ¶ added in v1.7.0
func WithTrackerFactory ¶ added in v1.7.0
func WithTrackerFactory(factory scan.TrackerFactory) func(*analysisOrchestrator)
Types ¶
type AnalysisOrchestrator ¶ added in v1.4.0
type AnalysisOrchestrator interface { CreateWorkspace(ctx context.Context, orgId string, requestId string, path scan.Target, bundleHash string) (string, error) RunAnalysis(ctx context.Context, orgId string, rootPath string, workspaceId string) (*sarif.SarifResponse, error) RunIncrementalAnalysis(ctx context.Context, orgId string, rootPath string, workspaceId string, limitToFiles []string) (*sarif.SarifResponse, error) }
func NewAnalysisOrchestrator ¶ added in v1.4.0
func NewAnalysisOrchestrator( config config.Config, httpClient codeClientHTTP.HTTPClient, options ...OptionFunc, ) AnalysisOrchestrator
type OptionFunc ¶ added in v1.5.0
type OptionFunc func(*analysisOrchestrator)
Click to show internal directories.
Click to hide internal directories.