Documentation ¶
Overview ¶
Package storage_mock is a generated GoMock package.
Index ¶
- type MockStorage
- func (m *MockStorage) EXPECT() *MockStorageMockRecorder
- func (m *MockStorage) GetRecordByID(arg0 context.Context, arg1 string) (*resize.Image, error)
- func (m *MockStorage) ListUserRecords(arg0 context.Context) ([]*model.ResizeResult, error)
- func (m *MockStorage) RecordResizeResult(arg0 context.Context, arg1 resize.Result) (*model.ResizeResult, error)
- type MockStorageMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) EXPECT ¶
func (m *MockStorage) EXPECT() *MockStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStorage) GetRecordByID ¶
GetRecordByID mocks base method
func (*MockStorage) ListUserRecords ¶
func (m *MockStorage) ListUserRecords(arg0 context.Context) ([]*model.ResizeResult, error)
ListUserRecords mocks base method
func (*MockStorage) RecordResizeResult ¶
func (m *MockStorage) RecordResizeResult(arg0 context.Context, arg1 resize.Result) (*model.ResizeResult, error)
RecordResizeResult mocks base method
type MockStorageMockRecorder ¶
type MockStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageMockRecorder is the mock recorder for MockStorage
func (*MockStorageMockRecorder) GetRecordByID ¶
func (mr *MockStorageMockRecorder) GetRecordByID(arg0, arg1 interface{}) *gomock.Call
GetRecordByID indicates an expected call of GetRecordByID
func (*MockStorageMockRecorder) ListUserRecords ¶
func (mr *MockStorageMockRecorder) ListUserRecords(arg0 interface{}) *gomock.Call
ListUserRecords indicates an expected call of ListUserRecords
func (*MockStorageMockRecorder) RecordResizeResult ¶
func (mr *MockStorageMockRecorder) RecordResizeResult(arg0, arg1 interface{}) *gomock.Call
RecordResizeResult indicates an expected call of RecordResizeResult
Click to show internal directories.
Click to hide internal directories.