mock_state

package
v0.0.0-...-7d81075 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2016 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockState

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

Mock of State interface

func NewMockState

func NewMockState(ctrl *gomock.Controller) *MockState

func (*MockState) Bounce

func (_m *MockState) Bounce(_param0 string) state.State

func (*MockState) EXPECT

func (_m *MockState) EXPECT() *_MockStateRecorder

func (*MockState) GetDBRole

func (_m *MockState) GetDBRole() (string, error)

func (*MockState) GetDataDir

func (_m *MockState) GetDataDir() (string, error)

func (*MockState) GetRole

func (_m *MockState) GetRole() (string, error)

func (*MockState) HasSynced

func (_m *MockState) HasSynced() (bool, error)

func (*MockState) Location

func (_m *MockState) Location() string

func (*MockState) Ready

func (_m *MockState) Ready()

func (*MockState) SetDBRole

func (_m *MockState) SetDBRole(_param0 string) error

func (*MockState) SetSynced

func (_m *MockState) SetSynced(_param0 bool) error

type MockStore

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

Mock of Store interface

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

func (*MockStore) EXPECT

func (_m *MockStore) EXPECT() *_MockStoreRecorder

func (*MockStore) Read

func (_m *MockStore) Read(_param0 string, _param1 string, _param2 interface{}) error

func (*MockStore) Write

func (_m *MockStore) Write(_param0 string, _param1 string, _param2 interface{}) error

Jump to

Keyboard shortcuts

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