Documentation ¶
Overview ¶
Package mock_updater is a generated GoMock package.
Index ¶
- type MockStore
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) GetLatestUpdateOperations(arg0 context.Context) ([]driver.UpdateOperation, error)
- func (m *MockStore) UpdateEnrichments(arg0 context.Context, arg1 uuid.UUID, arg2 string, arg3 driver.Fingerprint, ...) error
- func (m *MockStore) UpdateVulnerabilities(arg0 context.Context, arg1 uuid.UUID, arg2 string, arg3 driver.Fingerprint, ...) error
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) GetLatestUpdateOperations(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateEnrichments(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateVulnerabilities(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
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.
Click to show internal directories.
Click to hide internal directories.