mocks

package
v0.0.0-...-d2438c5 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2019 License: Apache-2.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 MockTx

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

MockTx is a mock of Tx interface

func NewMockTx

func NewMockTx(ctrl *gomock.Controller) *MockTx

NewMockTx creates a new mock instance

func (*MockTx) Config

func (m *MockTx) Config() (map[string]string, error)

Config mocks base method

func (*MockTx) EXPECT

func (m *MockTx) EXPECT() *MockTxMockRecorder

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

func (*MockTx) RaftNodes

func (m *MockTx) RaftNodes() ([]db.RaftNode, error)

RaftNodes mocks base method

func (*MockTx) UpdateConfig

func (m *MockTx) UpdateConfig(arg0 map[string]string) error

UpdateConfig mocks base method

type MockTxMockRecorder

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

MockTxMockRecorder is the mock recorder for MockTx

func (*MockTxMockRecorder) Config

func (mr *MockTxMockRecorder) Config() *gomock.Call

Config indicates an expected call of Config

func (*MockTxMockRecorder) RaftNodes

func (mr *MockTxMockRecorder) RaftNodes() *gomock.Call

RaftNodes indicates an expected call of RaftNodes

func (*MockTxMockRecorder) UpdateConfig

func (mr *MockTxMockRecorder) UpdateConfig(arg0 interface{}) *gomock.Call

UpdateConfig indicates an expected call of UpdateConfig

Jump to

Keyboard shortcuts

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