mock_handlers

package
v0.0.0-...-832d8e4 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_handlers is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRepository

type MockRepository struct {
	// contains filtered or unexported fields
}

MockRepository is a mock of Repository interface.

func NewMockRepository

func NewMockRepository(ctrl *gomock.Controller) *MockRepository

NewMockRepository creates a new mock instance.

func (*MockRepository) Close

func (m *MockRepository) Close() error

Close mocks base method.

func (*MockRepository) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRepository) GetUserStorage

func (m *MockRepository) GetUserStorage(arg0 context.Context, arg1 string) map[string]string

GetUserStorage mocks base method.

func (*MockRepository) Ping

func (m *MockRepository) Ping(arg0 context.Context) error

Ping mocks base method.

func (*MockRepository) Restore

func (m *MockRepository) Restore(arg0 context.Context, arg1 string) (string, error)

Restore mocks base method.

func (*MockRepository) Store

func (m *MockRepository) Store(arg0 context.Context, arg1, arg2 string) (string, error)

Store mocks base method.

func (*MockRepository) StoreBatch

func (m *MockRepository) StoreBatch(arg0 context.Context, arg1 string, arg2 map[string]string) (map[string]string, error)

StoreBatch mocks base method.

func (*MockRepository) Unstore

func (m *MockRepository) Unstore(arg0 context.Context, arg1 string, arg2 []string)

Unstore mocks base method.

type MockRepositoryMockRecorder

type MockRepositoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockRepositoryMockRecorder is the mock recorder for MockRepository.

func (*MockRepositoryMockRecorder) Close

func (mr *MockRepositoryMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockRepositoryMockRecorder) GetUserStorage

func (mr *MockRepositoryMockRecorder) GetUserStorage(arg0, arg1 interface{}) *gomock.Call

GetUserStorage indicates an expected call of GetUserStorage.

func (*MockRepositoryMockRecorder) Ping

func (mr *MockRepositoryMockRecorder) Ping(arg0 interface{}) *gomock.Call

Ping indicates an expected call of Ping.

func (*MockRepositoryMockRecorder) Restore

func (mr *MockRepositoryMockRecorder) Restore(arg0, arg1 interface{}) *gomock.Call

Restore indicates an expected call of Restore.

func (*MockRepositoryMockRecorder) Store

func (mr *MockRepositoryMockRecorder) Store(arg0, arg1, arg2 interface{}) *gomock.Call

Store indicates an expected call of Store.

func (*MockRepositoryMockRecorder) StoreBatch

func (mr *MockRepositoryMockRecorder) StoreBatch(arg0, arg1, arg2 interface{}) *gomock.Call

StoreBatch indicates an expected call of StoreBatch.

func (*MockRepositoryMockRecorder) Unstore

func (mr *MockRepositoryMockRecorder) Unstore(arg0, arg1, arg2 interface{}) *gomock.Call

Unstore indicates an expected call of Unstore.

Jump to

Keyboard shortcuts

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