mocks

package
v1.24.2 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2025 License: MIT Imports: 5 Imported by: ? 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.

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 MockBundle

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

MockBundle is a mock of Bundle interface.

func NewMockBundle

func NewMockBundle(ctrl *gomock.Controller) *MockBundle

NewMockBundle creates a new mock instance.

func (*MockBundle) ClearFiles added in v1.23.0

func (m *MockBundle) ClearFiles()

ClearFiles mocks base method.

func (*MockBundle) EXPECT

func (m *MockBundle) EXPECT() *MockBundleMockRecorder

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

func (*MockBundle) GetBundleHash

func (m *MockBundle) GetBundleHash() string

GetBundleHash mocks base method.

func (*MockBundle) GetFiles

func (m *MockBundle) GetFiles() map[string]deepcode.BundleFile

GetFiles mocks base method.

func (*MockBundle) GetLimitToFiles added in v1.21.1

func (m *MockBundle) GetLimitToFiles() []string

GetLimitToFiles mocks base method.

func (*MockBundle) GetMissingFiles

func (m *MockBundle) GetMissingFiles() []string

GetMissingFiles mocks base method.

func (*MockBundle) GetRootPath

func (m *MockBundle) GetRootPath() string

GetRootPath mocks base method.

func (*MockBundle) UploadBatch

func (m *MockBundle) UploadBatch(ctx context.Context, requestId string, batch *bundle.Batch) error

UploadBatch mocks base method.

type MockBundleManager

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

MockBundleManager is a mock of BundleManager interface.

func NewMockBundleManager

func NewMockBundleManager(ctrl *gomock.Controller) *MockBundleManager

NewMockBundleManager creates a new mock instance.

func (*MockBundleManager) Create

func (m *MockBundleManager) Create(ctx context.Context, requestId, rootPath string, filePaths <-chan string, changedFiles map[string]bool) (bundle.Bundle, error)

Create mocks base method.

func (*MockBundleManager) CreateEmpty added in v1.23.4

func (m *MockBundleManager) CreateEmpty(ctx context.Context, rootPath string, filePaths <-chan string, changedFiles map[string]bool) (bundle.Bundle, error)

CreateEmpty mocks base method.

func (*MockBundleManager) EXPECT

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

func (*MockBundleManager) Upload

func (m *MockBundleManager) Upload(ctx context.Context, requestId string, originalBundle bundle.Bundle, files map[string]deepcode.BundleFile) (bundle.Bundle, error)

Upload mocks base method.

type MockBundleManagerMockRecorder

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

MockBundleManagerMockRecorder is the mock recorder for MockBundleManager.

func (*MockBundleManagerMockRecorder) Create

func (mr *MockBundleManagerMockRecorder) Create(ctx, requestId, rootPath, filePaths, changedFiles interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockBundleManagerMockRecorder) CreateEmpty added in v1.23.4

func (mr *MockBundleManagerMockRecorder) CreateEmpty(ctx, rootPath, filePaths, changedFiles interface{}) *gomock.Call

CreateEmpty indicates an expected call of CreateEmpty.

func (*MockBundleManagerMockRecorder) Upload

func (mr *MockBundleManagerMockRecorder) Upload(ctx, requestId, originalBundle, files interface{}) *gomock.Call

Upload indicates an expected call of Upload.

type MockBundleMockRecorder

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

MockBundleMockRecorder is the mock recorder for MockBundle.

func (*MockBundleMockRecorder) ClearFiles added in v1.23.0

func (mr *MockBundleMockRecorder) ClearFiles() *gomock.Call

ClearFiles indicates an expected call of ClearFiles.

func (*MockBundleMockRecorder) GetBundleHash

func (mr *MockBundleMockRecorder) GetBundleHash() *gomock.Call

GetBundleHash indicates an expected call of GetBundleHash.

func (*MockBundleMockRecorder) GetFiles

func (mr *MockBundleMockRecorder) GetFiles() *gomock.Call

GetFiles indicates an expected call of GetFiles.

func (*MockBundleMockRecorder) GetLimitToFiles added in v1.21.1

func (mr *MockBundleMockRecorder) GetLimitToFiles() *gomock.Call

GetLimitToFiles indicates an expected call of GetLimitToFiles.

func (*MockBundleMockRecorder) GetMissingFiles

func (mr *MockBundleMockRecorder) GetMissingFiles() *gomock.Call

GetMissingFiles indicates an expected call of GetMissingFiles.

func (*MockBundleMockRecorder) GetRootPath

func (mr *MockBundleMockRecorder) GetRootPath() *gomock.Call

GetRootPath indicates an expected call of GetRootPath.

func (*MockBundleMockRecorder) UploadBatch

func (mr *MockBundleMockRecorder) UploadBatch(ctx, requestId, batch interface{}) *gomock.Call

UploadBatch indicates an expected call of UploadBatch.

Jump to

Keyboard shortcuts

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