mock_vulnstore

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_vulnstore is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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) DeleteUpdateOperations

func (m *MockUpdater) DeleteUpdateOperations(arg0 context.Context, arg1 ...uuid.UUID) (int64, error)

DeleteUpdateOperations mocks base method

func (*MockUpdater) EXPECT

func (m *MockUpdater) EXPECT() *MockUpdaterMockRecorder

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

func (*MockUpdater) GC

func (m *MockUpdater) GC(arg0 context.Context, arg1 int) (int64, error)

GC mocks base method

func (*MockUpdater) GetLatestUpdateRef

func (m *MockUpdater) GetLatestUpdateRef(arg0 context.Context, arg1 driver.UpdateKind) (uuid.UUID, error)

GetLatestUpdateRef mocks base method

func (*MockUpdater) GetLatestUpdateRefs

func (m *MockUpdater) GetLatestUpdateRefs(arg0 context.Context, arg1 driver.UpdateKind) (map[string][]driver.UpdateOperation, error)

GetLatestUpdateRefs mocks base method

func (*MockUpdater) GetUpdateDiff

func (m *MockUpdater) GetUpdateDiff(arg0 context.Context, arg1, arg2 uuid.UUID) (*driver.UpdateDiff, error)

GetUpdateDiff mocks base method

func (*MockUpdater) GetUpdateOperations

func (m *MockUpdater) GetUpdateOperations(arg0 context.Context, arg1 driver.UpdateKind, arg2 ...string) (map[string][]driver.UpdateOperation, error)

GetUpdateOperations mocks base method

func (*MockUpdater) Initialized

func (m *MockUpdater) Initialized(arg0 context.Context) (bool, error)

Initialized mocks base method

func (*MockUpdater) UpdateEnrichments

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

UpdateEnrichments mocks base method

func (*MockUpdater) UpdateVulnerabilities

func (m *MockUpdater) UpdateVulnerabilities(arg0 context.Context, arg1 string, arg2 driver.Fingerprint, arg3 []*claircore.Vulnerability) (uuid.UUID, error)

UpdateVulnerabilities mocks base method

type MockUpdaterMockRecorder

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

MockUpdaterMockRecorder is the mock recorder for MockUpdater

func (*MockUpdaterMockRecorder) DeleteUpdateOperations

func (mr *MockUpdaterMockRecorder) DeleteUpdateOperations(arg0 interface{}, arg1 ...interface{}) *gomock.Call

DeleteUpdateOperations indicates an expected call of DeleteUpdateOperations

func (*MockUpdaterMockRecorder) GC

func (mr *MockUpdaterMockRecorder) GC(arg0, arg1 interface{}) *gomock.Call

GC indicates an expected call of GC

func (*MockUpdaterMockRecorder) GetLatestUpdateRef

func (mr *MockUpdaterMockRecorder) GetLatestUpdateRef(arg0, arg1 interface{}) *gomock.Call

GetLatestUpdateRef indicates an expected call of GetLatestUpdateRef

func (*MockUpdaterMockRecorder) GetLatestUpdateRefs

func (mr *MockUpdaterMockRecorder) GetLatestUpdateRefs(arg0, arg1 interface{}) *gomock.Call

GetLatestUpdateRefs indicates an expected call of GetLatestUpdateRefs

func (*MockUpdaterMockRecorder) GetUpdateDiff

func (mr *MockUpdaterMockRecorder) GetUpdateDiff(arg0, arg1, arg2 interface{}) *gomock.Call

GetUpdateDiff indicates an expected call of GetUpdateDiff

func (*MockUpdaterMockRecorder) GetUpdateOperations

func (mr *MockUpdaterMockRecorder) GetUpdateOperations(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetUpdateOperations indicates an expected call of GetUpdateOperations

func (*MockUpdaterMockRecorder) Initialized

func (mr *MockUpdaterMockRecorder) Initialized(arg0 interface{}) *gomock.Call

Initialized indicates an expected call of Initialized

func (*MockUpdaterMockRecorder) UpdateEnrichments

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

UpdateEnrichments indicates an expected call of UpdateEnrichments

func (*MockUpdaterMockRecorder) UpdateVulnerabilities

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

UpdateVulnerabilities indicates an expected call of UpdateVulnerabilities

Jump to

Keyboard shortcuts

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