mocks

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 5 Imported by: 0

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

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

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

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

GetMissingFiles indicates an expected call of GetMissingFiles.

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