mock_driver

package
v1.5.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

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

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.

func (*MockUpdater) Name

func (m *MockUpdater) Name() string

Name 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

Create mocks base method.

func (*MockUpdaterFactory) EXPECT

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL