mock_storage

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2022 License: Apache-2.0 Imports: 4 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 mock_storage is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStorageService

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

MockStorageService is a mock of StorageService interface.

func NewMockStorageService

func NewMockStorageService(ctrl *gomock.Controller) *MockStorageService

NewMockStorageService creates a new mock instance.

func (*MockStorageService) Delete

func (m *MockStorageService) Delete(arg0 context.Context, arg1, arg2 string) error

Delete mocks base method.

func (*MockStorageService) EXPECT

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

func (*MockStorageService) ListFiles

func (m *MockStorageService) ListFiles(arg0 context.Context, arg1 string) ([]*storage.FileInfo, error)

ListFiles mocks base method.

func (*MockStorageService) PreSignUrl

func (m *MockStorageService) PreSignUrl(arg0 context.Context, arg1, arg2 string, arg3 storage.Operation, arg4 uint32) (string, error)

PreSignUrl mocks base method.

func (*MockStorageService) Read

func (m *MockStorageService) Read(arg0 context.Context, arg1, arg2 string) ([]byte, error)

Read mocks base method.

func (*MockStorageService) Write

func (m *MockStorageService) Write(arg0 context.Context, arg1, arg2 string, arg3 []byte) error

Write mocks base method.

type MockStorageServiceMockRecorder

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

MockStorageServiceMockRecorder is the mock recorder for MockStorageService.

func (*MockStorageServiceMockRecorder) Delete

func (mr *MockStorageServiceMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockStorageServiceMockRecorder) ListFiles

func (mr *MockStorageServiceMockRecorder) ListFiles(arg0, arg1 interface{}) *gomock.Call

ListFiles indicates an expected call of ListFiles.

func (*MockStorageServiceMockRecorder) PreSignUrl

func (mr *MockStorageServiceMockRecorder) PreSignUrl(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

PreSignUrl indicates an expected call of PreSignUrl.

func (*MockStorageServiceMockRecorder) Read

func (mr *MockStorageServiceMockRecorder) Read(arg0, arg1, arg2 interface{}) *gomock.Call

Read indicates an expected call of Read.

func (*MockStorageServiceMockRecorder) Write

func (mr *MockStorageServiceMockRecorder) Write(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Write indicates an expected call of Write.

Jump to

Keyboard shortcuts

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