Documentation ¶
Overview ¶
Package storagefakes is a generated GoMock package.
Index ¶
- type MockProvider
- func (m *MockProvider) Delete(arg0 context.Context, arg1 string) error
- func (m *MockProvider) Download(arg0 context.Context, arg1 string) (io.ReadCloser, error)
- func (m *MockProvider) EXPECT() *MockProviderMockRecorder
- func (m *MockProvider) Exists(arg0 context.Context, arg1 string) (bool, error)
- func (m *MockProvider) List(arg0 context.Context, arg1 string) ([]string, error)
- func (m *MockProvider) Stat(arg0 context.Context, arg1 string) (*storage.FileInfo, error)
- func (m *MockProvider) Upload(arg0 context.Context, arg1 string, arg2 io.Reader) error
- type MockProviderMockRecorder
- func (mr *MockProviderMockRecorder) Delete(arg0, arg1 any) *gomock.Call
- func (mr *MockProviderMockRecorder) Download(arg0, arg1 any) *gomock.Call
- func (mr *MockProviderMockRecorder) Exists(arg0, arg1 any) *gomock.Call
- func (mr *MockProviderMockRecorder) List(arg0, arg1 any) *gomock.Call
- func (mr *MockProviderMockRecorder) Stat(arg0, arg1 any) *gomock.Call
- func (mr *MockProviderMockRecorder) Upload(arg0, arg1, arg2 any) *gomock.Call
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 ¶
func (m *MockProvider) EXPECT() *MockProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.
Click to show internal directories.
Click to hide internal directories.