mocks

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDeepcode added in v1.4.4

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

MockDeepcode is a mock of DeepcodeClient interface.

func NewMockDeepcode added in v1.4.4

func NewMockDeepcode(ctrl *gomock.Controller) *MockDeepcode

NewMockDeepcode creates a new mock instance.

func (*MockDeepcode) CreateBundle added in v1.4.4

func (m *MockDeepcode) CreateBundle(ctx context.Context, files map[string]string) (string, []string, error)

CreateBundle mocks base method.

func (*MockDeepcode) EXPECT added in v1.4.4

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

func (*MockDeepcode) ExtendBundle added in v1.4.4

func (m *MockDeepcode) ExtendBundle(ctx context.Context, bundleHash string, files map[string]deepcode.BundleFile, removedFiles []string) (string, []string, error)

ExtendBundle mocks base method.

func (*MockDeepcode) GetFilters added in v1.4.4

func (m *MockDeepcode) GetFilters(ctx context.Context) (deepcode.FiltersResponse, error)

GetFilters mocks base method.

type MockDeepcodeMockRecorder added in v1.4.4

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

MockDeepcodeMockRecorder is the mock recorder for MockDeepcode.

func (*MockDeepcodeMockRecorder) CreateBundle added in v1.4.4

func (mr *MockDeepcodeMockRecorder) CreateBundle(ctx, files interface{}) *gomock.Call

CreateBundle indicates an expected call of CreateBundle.

func (*MockDeepcodeMockRecorder) ExtendBundle added in v1.4.4

func (mr *MockDeepcodeMockRecorder) ExtendBundle(ctx, bundleHash, files, removedFiles interface{}) *gomock.Call

ExtendBundle indicates an expected call of ExtendBundle.

func (*MockDeepcodeMockRecorder) GetFilters added in v1.4.4

func (mr *MockDeepcodeMockRecorder) GetFilters(ctx interface{}) *gomock.Call

GetFilters indicates an expected call of GetFilters.

Jump to

Keyboard shortcuts

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