storagefakes

package
v0.11.4 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2026 License: BSD-3-Clause 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(ctx context.Context, path string) error

Delete mocks base method.

func (*MockProvider) Download

func (m *MockProvider) Download(ctx context.Context, path 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(ctx context.Context, path string) (bool, error)

Exists mocks base method.

func (*MockProvider) List

func (m *MockProvider) List(ctx context.Context, prefix string) ([]string, error)

List mocks base method.

func (*MockProvider) Stat

func (m *MockProvider) Stat(ctx context.Context, path string) (*storage.FileInfo, error)

Stat mocks base method.

func (*MockProvider) Upload

func (m *MockProvider) Upload(ctx context.Context, path string, content 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(ctx, path any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockProviderMockRecorder) Download

func (mr *MockProviderMockRecorder) Download(ctx, path any) *gomock.Call

Download indicates an expected call of Download.

func (*MockProviderMockRecorder) Exists

func (mr *MockProviderMockRecorder) Exists(ctx, path any) *gomock.Call

Exists indicates an expected call of Exists.

func (*MockProviderMockRecorder) List

func (mr *MockProviderMockRecorder) List(ctx, prefix any) *gomock.Call

List indicates an expected call of List.

func (*MockProviderMockRecorder) Stat

func (mr *MockProviderMockRecorder) Stat(ctx, path any) *gomock.Call

Stat indicates an expected call of Stat.

func (*MockProviderMockRecorder) Upload

func (mr *MockProviderMockRecorder) Upload(ctx, path, content 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