Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockAnalysisOrchestrator
- func (m *MockAnalysisOrchestrator) CreateWorkspace(ctx context.Context, orgId, requestId string, path scan.Target, ...) (string, error)
- func (m *MockAnalysisOrchestrator) EXPECT() *MockAnalysisOrchestratorMockRecorder
- func (m *MockAnalysisOrchestrator) RunAnalysis(ctx context.Context, orgId, rootPath, workspaceId string) (*sarif.SarifResponse, error)
- func (m *MockAnalysisOrchestrator) RunIncrementalAnalysis(ctx context.Context, orgId, rootPath, workspaceId string, ...) (*sarif.SarifResponse, error)
- func (m *MockAnalysisOrchestrator) RunTest(ctx context.Context, orgId string, b bundle.Bundle, target scan.Target, ...) (*sarif.SarifResponse, *scan.ResultMetaData, error)
- func (m *MockAnalysisOrchestrator) RunTestRemote(ctx context.Context, orgId string, reportingOptions analysis.AnalysisConfig) (*sarif.SarifResponse, *scan.ResultMetaData, error)
- type MockAnalysisOrchestratorMockRecorder
- func (mr *MockAnalysisOrchestratorMockRecorder) CreateWorkspace(ctx, orgId, requestId, path, bundleHash interface{}) *gomock.Call
- func (mr *MockAnalysisOrchestratorMockRecorder) RunAnalysis(ctx, orgId, rootPath, workspaceId interface{}) *gomock.Call
- func (mr *MockAnalysisOrchestratorMockRecorder) RunIncrementalAnalysis(ctx, orgId, rootPath, workspaceId, limitToFiles interface{}) *gomock.Call
- func (mr *MockAnalysisOrchestratorMockRecorder) RunTest(ctx, orgId, b, target, reportingOptions interface{}) *gomock.Call
- func (mr *MockAnalysisOrchestratorMockRecorder) RunTestRemote(ctx, orgId, reportingOptions interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAnalysisOrchestrator ¶
type MockAnalysisOrchestrator struct {
// contains filtered or unexported fields
}
MockAnalysisOrchestrator is a mock of AnalysisOrchestrator interface.
func NewMockAnalysisOrchestrator ¶
func NewMockAnalysisOrchestrator(ctrl *gomock.Controller) *MockAnalysisOrchestrator
NewMockAnalysisOrchestrator creates a new mock instance.
func (*MockAnalysisOrchestrator) CreateWorkspace ¶
func (m *MockAnalysisOrchestrator) CreateWorkspace(ctx context.Context, orgId, requestId string, path scan.Target, bundleHash string) (string, error)
CreateWorkspace mocks base method.
func (*MockAnalysisOrchestrator) EXPECT ¶
func (m *MockAnalysisOrchestrator) EXPECT() *MockAnalysisOrchestratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAnalysisOrchestrator) RunAnalysis ¶
func (m *MockAnalysisOrchestrator) RunAnalysis(ctx context.Context, orgId, rootPath, workspaceId string) (*sarif.SarifResponse, error)
RunAnalysis mocks base method.
func (*MockAnalysisOrchestrator) RunIncrementalAnalysis ¶ added in v1.7.0
func (m *MockAnalysisOrchestrator) RunIncrementalAnalysis(ctx context.Context, orgId, rootPath, workspaceId string, limitToFiles []string) (*sarif.SarifResponse, error)
RunIncrementalAnalysis mocks base method.
func (*MockAnalysisOrchestrator) RunTest ¶ added in v1.12.0
func (m *MockAnalysisOrchestrator) RunTest(ctx context.Context, orgId string, b bundle.Bundle, target scan.Target, reportingOptions analysis.AnalysisConfig) (*sarif.SarifResponse, *scan.ResultMetaData, error)
RunTest mocks base method.
func (*MockAnalysisOrchestrator) RunTestRemote ¶ added in v1.15.0
func (m *MockAnalysisOrchestrator) RunTestRemote(ctx context.Context, orgId string, reportingOptions analysis.AnalysisConfig) (*sarif.SarifResponse, *scan.ResultMetaData, error)
RunTestRemote mocks base method.
type MockAnalysisOrchestratorMockRecorder ¶
type MockAnalysisOrchestratorMockRecorder struct {
// contains filtered or unexported fields
}
MockAnalysisOrchestratorMockRecorder is the mock recorder for MockAnalysisOrchestrator.
func (*MockAnalysisOrchestratorMockRecorder) CreateWorkspace ¶
func (mr *MockAnalysisOrchestratorMockRecorder) CreateWorkspace(ctx, orgId, requestId, path, bundleHash interface{}) *gomock.Call
CreateWorkspace indicates an expected call of CreateWorkspace.
func (*MockAnalysisOrchestratorMockRecorder) RunAnalysis ¶
func (mr *MockAnalysisOrchestratorMockRecorder) RunAnalysis(ctx, orgId, rootPath, workspaceId interface{}) *gomock.Call
RunAnalysis indicates an expected call of RunAnalysis.
func (*MockAnalysisOrchestratorMockRecorder) RunIncrementalAnalysis ¶ added in v1.7.0
func (mr *MockAnalysisOrchestratorMockRecorder) RunIncrementalAnalysis(ctx, orgId, rootPath, workspaceId, limitToFiles interface{}) *gomock.Call
RunIncrementalAnalysis indicates an expected call of RunIncrementalAnalysis.
func (*MockAnalysisOrchestratorMockRecorder) RunTest ¶ added in v1.12.0
func (mr *MockAnalysisOrchestratorMockRecorder) RunTest(ctx, orgId, b, target, reportingOptions interface{}) *gomock.Call
RunTest indicates an expected call of RunTest.
func (*MockAnalysisOrchestratorMockRecorder) RunTestRemote ¶ added in v1.15.0
func (mr *MockAnalysisOrchestratorMockRecorder) RunTestRemote(ctx, orgId, reportingOptions interface{}) *gomock.Call
RunTestRemote indicates an expected call of RunTestRemote.