mocks

package
v0.0.0-...-af80e91 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRamDB

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

MockRamDB is a mock of RamDB interface

func NewMockRamDB

func NewMockRamDB(ctrl *gomock.Controller) *MockRamDB

NewMockRamDB creates a new mock instance

func (*MockRamDB) Delete

func (m *MockRamDB) Delete(r *ramdb.Record) error

Delete mocks base method

func (*MockRamDB) EXPECT

func (m *MockRamDB) EXPECT() *MockRamDBMockRecorder

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

func (*MockRamDB) Get

func (m *MockRamDB) Get(column, key string) (*ramdb.Record, error)

Get mocks base method

func (*MockRamDB) Insert

func (m *MockRamDB) Insert(r *ramdb.Record) error

Insert mocks base method

func (*MockRamDB) Select

func (m *MockRamDB) Select(column string) ([]*ramdb.Record, error)

Select mocks base method

type MockRamDBMockRecorder

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

MockRamDBMockRecorder is the mock recorder for MockRamDB

func (*MockRamDBMockRecorder) Delete

func (mr *MockRamDBMockRecorder) Delete(r interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockRamDBMockRecorder) Get

func (mr *MockRamDBMockRecorder) Get(column, key interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockRamDBMockRecorder) Insert

func (mr *MockRamDBMockRecorder) Insert(r interface{}) *gomock.Call

Insert indicates an expected call of Insert

func (*MockRamDBMockRecorder) Select

func (mr *MockRamDBMockRecorder) Select(column interface{}) *gomock.Call

Select indicates an expected call of Select

Jump to

Keyboard shortcuts

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