Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockAnalysisOrchestrator
- func (m *MockAnalysisOrchestrator) EXPECT() *MockAnalysisOrchestratorMockRecorder
- func (m *MockAnalysisOrchestrator) RunLegacyTest(ctx context.Context, bundleHash, shardKey string, limitToFiles []string, ...) (*sarif.SarifResponse, scan.LegacyScanStatus, 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) RunLegacyTest(ctx, bundleHash, shardKey, limitToFiles, severity 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) EXPECT ¶
func (m *MockAnalysisOrchestrator) EXPECT() *MockAnalysisOrchestratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAnalysisOrchestrator) RunLegacyTest ¶ added in v1.23.1
func (m *MockAnalysisOrchestrator) RunLegacyTest(ctx context.Context, bundleHash, shardKey string, limitToFiles []string, severity int) (*sarif.SarifResponse, scan.LegacyScanStatus, error)
RunLegacyTest 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) RunLegacyTest ¶ added in v1.23.1
func (mr *MockAnalysisOrchestratorMockRecorder) RunLegacyTest(ctx, bundleHash, shardKey, limitToFiles, severity interface{}) *gomock.Call
RunLegacyTest indicates an expected call of RunLegacyTest.
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.
Click to show internal directories.
Click to hide internal directories.