Documentation ¶
Overview ¶
Package mock_driver is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEnrichmentParser ¶
type MockEnrichmentParser struct {
// contains filtered or unexported fields
}
MockEnrichmentParser is a mock of EnrichmentParser interface.
func NewMockEnrichmentParser ¶
func NewMockEnrichmentParser(ctrl *gomock.Controller) *MockEnrichmentParser
NewMockEnrichmentParser creates a new mock instance.
func (*MockEnrichmentParser) EXPECT ¶
func (m *MockEnrichmentParser) EXPECT() *MockEnrichmentParserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEnrichmentParser) ParseEnrichment ¶
func (m *MockEnrichmentParser) ParseEnrichment(arg0 context.Context, arg1 fs.FS) ([]driver.EnrichmentRecord, error)
ParseEnrichment mocks base method.
type MockEnrichmentParserMockRecorder ¶
type MockEnrichmentParserMockRecorder struct {
// contains filtered or unexported fields
}
MockEnrichmentParserMockRecorder is the mock recorder for MockEnrichmentParser.
func (*MockEnrichmentParserMockRecorder) ParseEnrichment ¶
func (mr *MockEnrichmentParserMockRecorder) ParseEnrichment(arg0, arg1 interface{}) *gomock.Call
ParseEnrichment indicates an expected call of ParseEnrichment.
type MockUpdater ¶
type MockUpdater struct {
// contains filtered or unexported fields
}
MockUpdater is a mock of Updater interface.
func NewMockUpdater ¶
func NewMockUpdater(ctrl *gomock.Controller) *MockUpdater
NewMockUpdater creates a new mock instance.
func (*MockUpdater) EXPECT ¶
func (m *MockUpdater) EXPECT() *MockUpdaterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUpdater) Fetch ¶
func (m *MockUpdater) Fetch(arg0 context.Context, arg1 *zip.Writer, arg2 driver.Fingerprint, arg3 *http.Client) (driver.Fingerprint, error)
Fetch mocks base method.
type MockUpdaterFactory ¶
type MockUpdaterFactory struct {
// contains filtered or unexported fields
}
MockUpdaterFactory is a mock of UpdaterFactory interface.
func NewMockUpdaterFactory ¶
func NewMockUpdaterFactory(ctrl *gomock.Controller) *MockUpdaterFactory
NewMockUpdaterFactory creates a new mock instance.
func (*MockUpdaterFactory) Create ¶
func (m *MockUpdaterFactory) Create(arg0 context.Context, arg1 driver.ConfigUnmarshaler) ([]driver.Updater, error)
Create mocks base method.
func (*MockUpdaterFactory) EXPECT ¶
func (m *MockUpdaterFactory) EXPECT() *MockUpdaterFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUpdaterFactory) Name ¶
func (m *MockUpdaterFactory) Name() string
Name mocks base method.
type MockUpdaterFactoryMockRecorder ¶
type MockUpdaterFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockUpdaterFactoryMockRecorder is the mock recorder for MockUpdaterFactory.
func (*MockUpdaterFactoryMockRecorder) Create ¶
func (mr *MockUpdaterFactoryMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockUpdaterFactoryMockRecorder) Name ¶
func (mr *MockUpdaterFactoryMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
type MockUpdaterMockRecorder ¶
type MockUpdaterMockRecorder struct {
// contains filtered or unexported fields
}
MockUpdaterMockRecorder is the mock recorder for MockUpdater.
func (*MockUpdaterMockRecorder) Fetch ¶
func (mr *MockUpdaterMockRecorder) Fetch(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Fetch indicates an expected call of Fetch.
func (*MockUpdaterMockRecorder) Name ¶
func (mr *MockUpdaterMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
type MockVulnerabilityParser ¶
type MockVulnerabilityParser struct {
// contains filtered or unexported fields
}
MockVulnerabilityParser is a mock of VulnerabilityParser interface.
func NewMockVulnerabilityParser ¶
func NewMockVulnerabilityParser(ctrl *gomock.Controller) *MockVulnerabilityParser
NewMockVulnerabilityParser creates a new mock instance.
func (*MockVulnerabilityParser) EXPECT ¶
func (m *MockVulnerabilityParser) EXPECT() *MockVulnerabilityParserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVulnerabilityParser) ParseVulnerability ¶
func (m *MockVulnerabilityParser) ParseVulnerability(arg0 context.Context, arg1 fs.FS) (*driver.ParsedVulnerabilities, error)
ParseVulnerability mocks base method.
type MockVulnerabilityParserMockRecorder ¶
type MockVulnerabilityParserMockRecorder struct {
// contains filtered or unexported fields
}
MockVulnerabilityParserMockRecorder is the mock recorder for MockVulnerabilityParser.
func (*MockVulnerabilityParserMockRecorder) ParseVulnerability ¶
func (mr *MockVulnerabilityParserMockRecorder) ParseVulnerability(arg0, arg1 interface{}) *gomock.Call
ParseVulnerability indicates an expected call of ParseVulnerability.