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: 0

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