mock_job

package
v0.8.15 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_job is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLevelDB

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

MockLevelDB is a mock of LevelDB interface

func NewMockLevelDB

func NewMockLevelDB(ctrl *gomock.Controller) *MockLevelDB

NewMockLevelDB creates a new mock instance

func (*MockLevelDB) EXPECT

func (m *MockLevelDB) EXPECT() *MockLevelDBMockRecorder

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

func (*MockLevelDB) Get

func (m *MockLevelDB) Get(key []byte, ro *opt.ReadOptions) ([]byte, error)

Get mocks base method

func (*MockLevelDB) Put

func (m *MockLevelDB) Put(key, value []byte, wo *opt.WriteOptions) error

Put mocks base method

type MockLevelDBMockRecorder

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

MockLevelDBMockRecorder is the mock recorder for MockLevelDB

func (*MockLevelDBMockRecorder) Get

func (mr *MockLevelDBMockRecorder) Get(key, ro interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockLevelDBMockRecorder) Put

func (mr *MockLevelDBMockRecorder) Put(key, value, wo 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