mock_updater

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_updater is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStore

type MockStore struct {
	// contains filtered or unexported fields
}

MockStore is a mock of Store interface.

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance.

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStore) GetLatestUpdateOperations

func (m *MockStore) GetLatestUpdateOperations(arg0 context.Context) ([]driver.UpdateOperation, error)

GetLatestUpdateOperations mocks base method.

func (*MockStore) UpdateEnrichments

func (m *MockStore) UpdateEnrichments(arg0 context.Context, arg1 uuid.UUID, arg2 string, arg3 driver.Fingerprint, arg4 []driver.EnrichmentRecord) error

UpdateEnrichments mocks base method.

func (*MockStore) UpdateVulnerabilities

func (m *MockStore) UpdateVulnerabilities(arg0 context.Context, arg1 uuid.UUID, arg2 string, arg3 driver.Fingerprint, arg4 *driver.ParsedVulnerabilities) error

UpdateVulnerabilities mocks base method.

type MockStoreMockRecorder

type MockStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) GetLatestUpdateOperations

func (mr *MockStoreMockRecorder) GetLatestUpdateOperations(arg0 interface{}) *gomock.Call

GetLatestUpdateOperations indicates an expected call of GetLatestUpdateOperations.

func (*MockStoreMockRecorder) UpdateEnrichments

func (mr *MockStoreMockRecorder) UpdateEnrichments(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

UpdateEnrichments indicates an expected call of UpdateEnrichments.

func (*MockStoreMockRecorder) UpdateVulnerabilities

func (mr *MockStoreMockRecorder) UpdateVulnerabilities(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

UpdateVulnerabilities indicates an expected call of UpdateVulnerabilities.

Directories

Path Synopsis
driver
v1
Package mock_driver is a generated GoMock package.
Package mock_driver is a generated GoMock package.

Jump to

Keyboard shortcuts

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