Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockKeyState
- func (m *MockKeyState) AddChild(arg0 uint32, arg1 int64) (int64, error)
- func (m *MockKeyState) EXPECT() *MockKeyStateMockRecorder
- func (m *MockKeyState) GetAllParentRootKeys() ([]state.KeyType, error)
- func (m *MockKeyState) GetChild(arg0 int64) (uint32, int64, int64, error)
- func (m *MockKeyState) GetChildrenKeys(arg0 int64) ([]state.KeyType, error)
- func (m *MockKeyState) GetLastChildIndex(arg0 int64) (uint32, error)
- func (m *MockKeyState) GetLastSeedIndex(arg0 uint32) (uint32, error)
- func (m *MockKeyState) GetMnemonic() (string, string, error)
- func (m *MockKeyState) GetSeed() (string, string, error)
- func (m *MockKeyState) SaveSeed(arg0, arg1, arg2 string) error
- type MockKeyStateMockRecorder
- func (mr *MockKeyStateMockRecorder) AddChild(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKeyStateMockRecorder) GetAllParentRootKeys() *gomock.Call
- func (mr *MockKeyStateMockRecorder) GetChild(arg0 interface{}) *gomock.Call
- func (mr *MockKeyStateMockRecorder) GetChildrenKeys(arg0 interface{}) *gomock.Call
- func (mr *MockKeyStateMockRecorder) GetLastChildIndex(arg0 interface{}) *gomock.Call
- func (mr *MockKeyStateMockRecorder) GetLastSeedIndex(arg0 interface{}) *gomock.Call
- func (mr *MockKeyStateMockRecorder) GetMnemonic() *gomock.Call
- func (mr *MockKeyStateMockRecorder) GetSeed() *gomock.Call
- func (mr *MockKeyStateMockRecorder) SaveSeed(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockKeyState ¶
type MockKeyState struct {
// contains filtered or unexported fields
}
MockKeyState is a mock of KeyState interface.
func NewMockKeyState ¶
func NewMockKeyState(ctrl *gomock.Controller) *MockKeyState
NewMockKeyState creates a new mock instance.
func (*MockKeyState) AddChild ¶
func (m *MockKeyState) AddChild(arg0 uint32, arg1 int64) (int64, error)
AddChild mocks base method.
func (*MockKeyState) EXPECT ¶
func (m *MockKeyState) EXPECT() *MockKeyStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockKeyState) GetAllParentRootKeys ¶
func (m *MockKeyState) GetAllParentRootKeys() ([]state.KeyType, error)
GetAllParentRootKeys mocks base method.
func (*MockKeyState) GetChildrenKeys ¶
func (m *MockKeyState) GetChildrenKeys(arg0 int64) ([]state.KeyType, error)
GetChildrenKeys mocks base method.
func (*MockKeyState) GetLastChildIndex ¶
func (m *MockKeyState) GetLastChildIndex(arg0 int64) (uint32, error)
GetLastChildIndex mocks base method.
func (*MockKeyState) GetLastSeedIndex ¶
func (m *MockKeyState) GetLastSeedIndex(arg0 uint32) (uint32, error)
GetLastSeedIndex mocks base method.
func (*MockKeyState) GetMnemonic ¶
func (m *MockKeyState) GetMnemonic() (string, string, error)
GetMnemonic mocks base method.
func (*MockKeyState) GetSeed ¶
func (m *MockKeyState) GetSeed() (string, string, error)
GetSeed mocks base method.
func (*MockKeyState) SaveSeed ¶
func (m *MockKeyState) SaveSeed(arg0, arg1, arg2 string) error
SaveSeed mocks base method.
type MockKeyStateMockRecorder ¶
type MockKeyStateMockRecorder struct {
// contains filtered or unexported fields
}
MockKeyStateMockRecorder is the mock recorder for MockKeyState.
func (*MockKeyStateMockRecorder) AddChild ¶
func (mr *MockKeyStateMockRecorder) AddChild(arg0, arg1 interface{}) *gomock.Call
AddChild indicates an expected call of AddChild.
func (*MockKeyStateMockRecorder) GetAllParentRootKeys ¶
func (mr *MockKeyStateMockRecorder) GetAllParentRootKeys() *gomock.Call
GetAllParentRootKeys indicates an expected call of GetAllParentRootKeys.
func (*MockKeyStateMockRecorder) GetChild ¶
func (mr *MockKeyStateMockRecorder) GetChild(arg0 interface{}) *gomock.Call
GetChild indicates an expected call of GetChild.
func (*MockKeyStateMockRecorder) GetChildrenKeys ¶
func (mr *MockKeyStateMockRecorder) GetChildrenKeys(arg0 interface{}) *gomock.Call
GetChildrenKeys indicates an expected call of GetChildrenKeys.
func (*MockKeyStateMockRecorder) GetLastChildIndex ¶
func (mr *MockKeyStateMockRecorder) GetLastChildIndex(arg0 interface{}) *gomock.Call
GetLastChildIndex indicates an expected call of GetLastChildIndex.
func (*MockKeyStateMockRecorder) GetLastSeedIndex ¶
func (mr *MockKeyStateMockRecorder) GetLastSeedIndex(arg0 interface{}) *gomock.Call
GetLastSeedIndex indicates an expected call of GetLastSeedIndex.
func (*MockKeyStateMockRecorder) GetMnemonic ¶
func (mr *MockKeyStateMockRecorder) GetMnemonic() *gomock.Call
GetMnemonic indicates an expected call of GetMnemonic.
func (*MockKeyStateMockRecorder) GetSeed ¶
func (mr *MockKeyStateMockRecorder) GetSeed() *gomock.Call
GetSeed indicates an expected call of GetSeed.
func (*MockKeyStateMockRecorder) SaveSeed ¶
func (mr *MockKeyStateMockRecorder) SaveSeed(arg0, arg1, arg2 interface{}) *gomock.Call
SaveSeed indicates an expected call of SaveSeed.