mockstorage

package
v1.1.0-beta.0...-bd07e09 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0, Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mockstorage is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockExternalStorage

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

MockExternalStorage is a mock of ExternalStorage interface.

func NewMockExternalStorage

func NewMockExternalStorage(ctrl *gomock.Controller) *MockExternalStorage

NewMockExternalStorage creates a new mock instance.

func (*MockExternalStorage) Close

func (m *MockExternalStorage) Close()

Close mocks base method.

func (*MockExternalStorage) Create

Create mocks base method.

func (*MockExternalStorage) DeleteFile

func (m *MockExternalStorage) DeleteFile(arg0 context.Context, arg1 string) error

DeleteFile mocks base method.

func (*MockExternalStorage) DeleteFiles

func (m *MockExternalStorage) DeleteFiles(arg0 context.Context, arg1 []string) error

DeleteFiles mocks base method.

func (*MockExternalStorage) EXPECT

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

func (*MockExternalStorage) FileExists

func (m *MockExternalStorage) FileExists(arg0 context.Context, arg1 string) (bool, error)

FileExists mocks base method.

func (*MockExternalStorage) ISGOMOCK

func (m *MockExternalStorage) ISGOMOCK() struct{}

ISGOMOCK indicates that this struct is a gomock mock.

func (*MockExternalStorage) Open

Open mocks base method.

func (*MockExternalStorage) ReadFile

func (m *MockExternalStorage) ReadFile(arg0 context.Context, arg1 string) ([]byte, error)

ReadFile mocks base method.

func (*MockExternalStorage) Rename

func (m *MockExternalStorage) Rename(arg0 context.Context, arg1, arg2 string) error

Rename mocks base method.

func (*MockExternalStorage) URI

func (m *MockExternalStorage) URI() string

URI mocks base method.

func (*MockExternalStorage) WalkDir

func (m *MockExternalStorage) WalkDir(arg0 context.Context, arg1 *storage.WalkOption, arg2 func(string, int64) error) error

WalkDir mocks base method.

func (*MockExternalStorage) WriteFile

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

WriteFile mocks base method.

type MockExternalStorageMockRecorder

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

MockExternalStorageMockRecorder is the mock recorder for MockExternalStorage.

func (*MockExternalStorageMockRecorder) Close

Close indicates an expected call of Close.

func (*MockExternalStorageMockRecorder) Create

func (mr *MockExternalStorageMockRecorder) Create(arg0, arg1, arg2 any) *gomock.Call

Create indicates an expected call of Create.

func (*MockExternalStorageMockRecorder) DeleteFile

func (mr *MockExternalStorageMockRecorder) DeleteFile(arg0, arg1 any) *gomock.Call

DeleteFile indicates an expected call of DeleteFile.

func (*MockExternalStorageMockRecorder) DeleteFiles

func (mr *MockExternalStorageMockRecorder) DeleteFiles(arg0, arg1 any) *gomock.Call

DeleteFiles indicates an expected call of DeleteFiles.

func (*MockExternalStorageMockRecorder) FileExists

func (mr *MockExternalStorageMockRecorder) FileExists(arg0, arg1 any) *gomock.Call

FileExists indicates an expected call of FileExists.

func (*MockExternalStorageMockRecorder) Open

func (mr *MockExternalStorageMockRecorder) Open(arg0, arg1, arg2 any) *gomock.Call

Open indicates an expected call of Open.

func (*MockExternalStorageMockRecorder) ReadFile

func (mr *MockExternalStorageMockRecorder) ReadFile(arg0, arg1 any) *gomock.Call

ReadFile indicates an expected call of ReadFile.

func (*MockExternalStorageMockRecorder) Rename

func (mr *MockExternalStorageMockRecorder) Rename(arg0, arg1, arg2 any) *gomock.Call

Rename indicates an expected call of Rename.

func (*MockExternalStorageMockRecorder) URI

URI indicates an expected call of URI.

func (*MockExternalStorageMockRecorder) WalkDir

func (mr *MockExternalStorageMockRecorder) WalkDir(arg0, arg1, arg2 any) *gomock.Call

WalkDir indicates an expected call of WalkDir.

func (*MockExternalStorageMockRecorder) WriteFile

func (mr *MockExternalStorageMockRecorder) WriteFile(arg0, arg1, arg2 any) *gomock.Call

WriteFile indicates an expected call of WriteFile.

Jump to

Keyboard shortcuts

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