Documentation ¶
Overview ¶
Package mock_storage is a generated GoMock package.
Package mock_storage is a generated GoMock package.
Package mock_storage is a generated GoMock package.
Index ¶
- type MockCache
- type MockCacheMockRecorder
- type MockFileRepository
- func (m *MockFileRepository) Create(arg0 context.Context, arg1 storage.File) (storage.File, error)
- func (m *MockFileRepository) Delete(arg0 context.Context, arg1 interface{}) error
- func (m *MockFileRepository) EXPECT() *MockFileRepositoryMockRecorder
- func (m *MockFileRepository) FindAllByIDs(arg0 context.Context, arg1 interface{}) ([]storage.File, error)
- func (m *MockFileRepository) FindByID(arg0 context.Context, arg1 interface{}) (storage.File, error)
- type MockFileRepositoryMockRecorder
- func (mr *MockFileRepositoryMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFileRepositoryMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFileRepositoryMockRecorder) FindAllByIDs(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFileRepositoryMockRecorder) FindByID(arg0, arg1 interface{}) *gomock.Call
- type MockStorage
- func (m *MockStorage) Delete(arg0 context.Context, arg1 string) error
- func (m *MockStorage) Download(arg0 context.Context, arg1 string) (io.ReadCloser, error)
- func (m *MockStorage) EXPECT() *MockStorageMockRecorder
- func (m *MockStorage) Upload(arg0 context.Context, arg1 io.Reader, arg2 string) error
- type MockStorageMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCache ¶
type MockCache struct {
// contains filtered or unexported fields
}
MockCache is a mock of Cache interface
func NewMockCache ¶
func NewMockCache(ctrl *gomock.Controller) *MockCache
NewMockCache creates a new mock instance
func (*MockCache) EXPECT ¶
func (m *MockCache) EXPECT() *MockCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockCacheMockRecorder ¶
type MockCacheMockRecorder struct {
// contains filtered or unexported fields
}
MockCacheMockRecorder is the mock recorder for MockCache
func (*MockCacheMockRecorder) Exists ¶
func (mr *MockCacheMockRecorder) Exists(arg0 interface{}) *gomock.Call
Exists indicates an expected call of Exists
func (*MockCacheMockRecorder) Retrieve ¶
func (mr *MockCacheMockRecorder) Retrieve(arg0 interface{}) *gomock.Call
Retrieve indicates an expected call of Retrieve
func (*MockCacheMockRecorder) Store ¶
func (mr *MockCacheMockRecorder) Store(arg0, arg1 interface{}) *gomock.Call
Store indicates an expected call of Store
type MockFileRepository ¶
type MockFileRepository struct {
// contains filtered or unexported fields
}
MockFileRepository is a mock of FileRepository interface
func NewMockFileRepository ¶
func NewMockFileRepository(ctrl *gomock.Controller) *MockFileRepository
NewMockFileRepository creates a new mock instance
func (*MockFileRepository) Delete ¶
func (m *MockFileRepository) Delete(arg0 context.Context, arg1 interface{}) error
Delete mocks base method
func (*MockFileRepository) EXPECT ¶
func (m *MockFileRepository) EXPECT() *MockFileRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFileRepository) FindAllByIDs ¶
func (m *MockFileRepository) FindAllByIDs(arg0 context.Context, arg1 interface{}) ([]storage.File, error)
FindAllByIDs mocks base method
type MockFileRepositoryMockRecorder ¶
type MockFileRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockFileRepositoryMockRecorder is the mock recorder for MockFileRepository
func (*MockFileRepositoryMockRecorder) Create ¶
func (mr *MockFileRepositoryMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockFileRepositoryMockRecorder) Delete ¶
func (mr *MockFileRepositoryMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockFileRepositoryMockRecorder) FindAllByIDs ¶
func (mr *MockFileRepositoryMockRecorder) FindAllByIDs(arg0, arg1 interface{}) *gomock.Call
FindAllByIDs indicates an expected call of FindAllByIDs
func (*MockFileRepositoryMockRecorder) FindByID ¶
func (mr *MockFileRepositoryMockRecorder) FindByID(arg0, arg1 interface{}) *gomock.Call
FindByID indicates an expected call of FindByID
type MockStorage ¶
type MockStorage struct {
// contains filtered or unexported fields
}
MockStorage is a mock of Storage interface
func NewMockStorage ¶
func NewMockStorage(ctrl *gomock.Controller) *MockStorage
NewMockStorage creates a new mock instance
func (*MockStorage) Delete ¶
func (m *MockStorage) Delete(arg0 context.Context, arg1 string) error
Delete mocks base method
func (*MockStorage) Download ¶
func (m *MockStorage) Download(arg0 context.Context, arg1 string) (io.ReadCloser, error)
Download mocks base method
func (*MockStorage) EXPECT ¶
func (m *MockStorage) EXPECT() *MockStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockStorageMockRecorder ¶
type MockStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageMockRecorder is the mock recorder for MockStorage
func (*MockStorageMockRecorder) Delete ¶
func (mr *MockStorageMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockStorageMockRecorder) Download ¶
func (mr *MockStorageMockRecorder) Download(arg0, arg1 interface{}) *gomock.Call
Download indicates an expected call of Download
func (*MockStorageMockRecorder) Upload ¶
func (mr *MockStorageMockRecorder) Upload(arg0, arg1, arg2 interface{}) *gomock.Call
Upload indicates an expected call of Upload