storagefakes

package
v0.0.0-...-4e09bf3 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package storagefakes is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockProvider

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

MockProvider is a mock of Provider interface.

func NewMockProvider

func NewMockProvider(ctrl *gomock.Controller) *MockProvider

NewMockProvider creates a new mock instance.

func (*MockProvider) Delete

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

Delete mocks base method.

func (*MockProvider) Download

func (m *MockProvider) Download(arg0 context.Context, arg1 string) (io.ReadCloser, error)

Download mocks base method.

func (*MockProvider) EXPECT

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

func (*MockProvider) Exists

func (m *MockProvider) Exists(arg0 context.Context, arg1 string) (bool, error)

Exists mocks base method.

func (*MockProvider) List

func (m *MockProvider) List(arg0 context.Context, arg1 string) ([]string, error)

List mocks base method.

func (*MockProvider) Stat

func (m *MockProvider) Stat(arg0 context.Context, arg1 string) (*storage.FileInfo, error)

Stat mocks base method.

func (*MockProvider) Upload

func (m *MockProvider) Upload(arg0 context.Context, arg1 string, arg2 io.Reader) error

Upload mocks base method.

type MockProviderMockRecorder

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

MockProviderMockRecorder is the mock recorder for MockProvider.

func (*MockProviderMockRecorder) Delete

func (mr *MockProviderMockRecorder) Delete(arg0, arg1 any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockProviderMockRecorder) Download

func (mr *MockProviderMockRecorder) Download(arg0, arg1 any) *gomock.Call

Download indicates an expected call of Download.

func (*MockProviderMockRecorder) Exists

func (mr *MockProviderMockRecorder) Exists(arg0, arg1 any) *gomock.Call

Exists indicates an expected call of Exists.

func (*MockProviderMockRecorder) List

func (mr *MockProviderMockRecorder) List(arg0, arg1 any) *gomock.Call

List indicates an expected call of List.

func (*MockProviderMockRecorder) Stat

func (mr *MockProviderMockRecorder) Stat(arg0, arg1 any) *gomock.Call

Stat indicates an expected call of Stat.

func (*MockProviderMockRecorder) Upload

func (mr *MockProviderMockRecorder) Upload(arg0, arg1, arg2 any) *gomock.Call

Upload indicates an expected call of Upload.

Jump to

Keyboard shortcuts

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