Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithTimeoutInSeconds ¶ added in v1.5.0
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)
}
func NewAnalysisOrchestrator ¶ added in v1.4.0
func NewAnalysisOrchestrator( config config.Config, logger *zerolog.Logger, httpClient codeClientHTTP.HTTPClient, instrumentor observability.Instrumentor, errorReporter observability.ErrorReporter, trackerFactory scan.TrackerFactory, options ...OptionFunc, ) AnalysisOrchestrator
type OptionFunc ¶ added in v1.5.0
type OptionFunc func(*analysisOrchestrator)
Click to show internal directories.
Click to hide internal directories.