Documentation
¶
Index ¶
- type MockState
- func (_m *MockState) Bounce(_param0 string) state.State
- func (_m *MockState) EXPECT() *_MockStateRecorder
- func (_m *MockState) GetDBRole() (string, error)
- func (_m *MockState) GetDataDir() (string, error)
- func (_m *MockState) GetRole() (string, error)
- func (_m *MockState) HasSynced() (bool, error)
- func (_m *MockState) Location() string
- func (_m *MockState) Ready()
- func (_m *MockState) SetDBRole(_param0 string) error
- func (_m *MockState) SetSynced(_param0 bool) error
- type MockStore
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) GetDataDir ¶
type MockStore ¶
type MockStore struct {
// contains filtered or unexported fields
}
Mock of Store interface
func NewMockStore ¶
func NewMockStore(ctrl *gomock.Controller) *MockStore
Click to show internal directories.
Click to hide internal directories.