mock_driver

package
v1.4.20 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: Apache-2.0 Imports: 5 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 MockMatcher

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

MockMatcher is a mock of Matcher interface.

func NewMockMatcher

func NewMockMatcher(ctrl *gomock.Controller) *MockMatcher

NewMockMatcher creates a new mock instance.

func (*MockMatcher) EXPECT

func (m *MockMatcher) EXPECT() *MockMatcherMockRecorder

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

func (*MockMatcher) Filter

func (m *MockMatcher) Filter(arg0 *claircore.IndexRecord) bool

Filter mocks base method.

func (*MockMatcher) Name

func (m *MockMatcher) Name() string

Name mocks base method.

func (*MockMatcher) Query

func (m *MockMatcher) Query() []driver.MatchConstraint

Query mocks base method.

func (*MockMatcher) Vulnerable

func (m *MockMatcher) Vulnerable(arg0 context.Context, arg1 *claircore.IndexRecord, arg2 *claircore.Vulnerability) (bool, error)

Vulnerable mocks base method.

type MockMatcherMockRecorder

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

MockMatcherMockRecorder is the mock recorder for MockMatcher.

func (*MockMatcherMockRecorder) Filter

func (mr *MockMatcherMockRecorder) Filter(arg0 interface{}) *gomock.Call

Filter indicates an expected call of Filter.

func (*MockMatcherMockRecorder) Name

func (mr *MockMatcherMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockMatcherMockRecorder) Query

func (mr *MockMatcherMockRecorder) Query() *gomock.Call

Query indicates an expected call of Query.

func (*MockMatcherMockRecorder) Vulnerable

func (mr *MockMatcherMockRecorder) Vulnerable(arg0, arg1, arg2 interface{}) *gomock.Call

Vulnerable indicates an expected call of Vulnerable.

Jump to

Keyboard shortcuts

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