mocks

package
v1.1.15 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: Apache-2.0 Imports: 2 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 MockDatabase

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

MockDatabase is a mock of Database interface

func NewMockDatabase

func NewMockDatabase(ctrl *gomock.Controller) *MockDatabase

NewMockDatabase creates a new mock instance

func (*MockDatabase) Delete

func (m *MockDatabase) Delete(key []byte) error

Delete mocks base method

func (*MockDatabase) EXPECT

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

func (*MockDatabase) Get

func (m *MockDatabase) Get(key []byte) ([]byte, error)

Get mocks base method

func (*MockDatabase) List

func (m *MockDatabase) List() (map[string]interface{}, error)

List mocks base method

func (*MockDatabase) Put

func (m *MockDatabase) Put(key, value []byte) error

Put mocks base method

type MockDatabaseMockRecorder

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

MockDatabaseMockRecorder is the mock recorder for MockDatabase

func (*MockDatabaseMockRecorder) Delete

func (mr *MockDatabaseMockRecorder) Delete(key interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockDatabaseMockRecorder) Get

func (mr *MockDatabaseMockRecorder) Get(key interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockDatabaseMockRecorder) List

func (mr *MockDatabaseMockRecorder) List() *gomock.Call

List indicates an expected call of List

func (*MockDatabaseMockRecorder) Put

func (mr *MockDatabaseMockRecorder) Put(key, value interface{}) *gomock.Call

Put indicates an expected call of Put

Jump to

Keyboard shortcuts

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