Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockBundle
- func (m *MockBundle) EXPECT() *MockBundleMockRecorder
- func (m *MockBundle) GetBundleHash() string
- func (m *MockBundle) GetFiles() map[string]deepcode.BundleFile
- func (m *MockBundle) GetMissingFiles() []string
- func (m *MockBundle) UploadBatch(ctx context.Context, requestId string, batch *bundle.Batch) error
- type MockBundleManager
- func (m *MockBundleManager) Create(ctx context.Context, requestId, rootPath string, filePaths <-chan string, ...) (bundle.Bundle, error)
- func (m *MockBundleManager) EXPECT() *MockBundleManagerMockRecorder
- func (m *MockBundleManager) Upload(ctx context.Context, requestId string, originalBundle bundle.Bundle, ...) (bundle.Bundle, error)
- type MockBundleManagerMockRecorder
- type MockBundleMockRecorder
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 ¶
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 ¶
func (m *MockBundleManager) EXPECT() *MockBundleManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.