storage_mock

package
v0.0.0-...-aeab57e Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package storage_mock is a generated GoMock package.

Index

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

func (m *MockStorage) GetRecordByID(arg0 context.Context, arg1 string) (*resize.Image, error)

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

Jump to

Keyboard shortcuts

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