clientMocks

package
v0.0.0-...-ee95d54 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package clientMocks is a generated GoMock package.

Package clientMocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockKeyStore

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

MockKeyStore is a mock of KeyStore interface.

func NewMockKeyStore

func NewMockKeyStore(ctrl *gomock.Controller) *MockKeyStore

NewMockKeyStore creates a new mock instance.

func (*MockKeyStore) EXPECT

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

func (*MockKeyStore) LoadKeys

func (m *MockKeyStore) LoadKeys(userName, password string) (*keystore.KeyPair, error)

LoadKeys mocks base method.

func (*MockKeyStore) PutKeys

func (m *MockKeyStore) PutKeys(username string, keyPair *keystore.KeyPair) error

PutKeys mocks base method.

type MockKeyStoreMockRecorder

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

MockKeyStoreMockRecorder is the mock recorder for MockKeyStore.

func (*MockKeyStoreMockRecorder) LoadKeys

func (mr *MockKeyStoreMockRecorder) LoadKeys(userName, password interface{}) *gomock.Call

LoadKeys indicates an expected call of LoadKeys.

func (*MockKeyStoreMockRecorder) PutKeys

func (mr *MockKeyStoreMockRecorder) PutKeys(username, keyPair interface{}) *gomock.Call

PutKeys indicates an expected call of PutKeys.

type MockState

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

MockState is a mock of State interface.

func NewMockState

func NewMockState(ctrl *gomock.Controller) *MockState

NewMockState creates a new mock instance.

func (*MockState) Delete

func (m *MockState) Delete(key string) error

Delete mocks base method.

func (*MockState) EXPECT

func (m *MockState) EXPECT() *MockStateMockRecorder

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

func (*MockState) Get

func (m *MockState) Get(key string) ([]byte, error)

Get mocks base method.

func (*MockState) GetOrError

func (m *MockState) GetOrError(key string) ([]byte, error)

GetOrError mocks base method.

func (*MockState) LoadOffset

func (m *MockState) LoadOffset() (uint64, error)

LoadOffset mocks base method.

func (*MockState) Reset

func (m *MockState) Reset(stateDbPath string) (string, error)

Reset mocks base method.

func (*MockState) SaveOffset

func (m *MockState) SaveOffset(arg0 uint64) error

SaveOffset mocks base method.

func (*MockState) Set

func (m *MockState) Set(key string, value []byte) error

Set mocks base method.

type MockStateMockRecorder

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

MockStateMockRecorder is the mock recorder for MockState.

func (*MockStateMockRecorder) Delete

func (mr *MockStateMockRecorder) Delete(key interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockStateMockRecorder) Get

func (mr *MockStateMockRecorder) Get(key interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockStateMockRecorder) GetOrError

func (mr *MockStateMockRecorder) GetOrError(key interface{}) *gomock.Call

GetOrError indicates an expected call of GetOrError.

func (*MockStateMockRecorder) LoadOffset

func (mr *MockStateMockRecorder) LoadOffset() *gomock.Call

LoadOffset indicates an expected call of LoadOffset.

func (*MockStateMockRecorder) Reset

func (mr *MockStateMockRecorder) Reset(stateDbPath interface{}) *gomock.Call

Reset indicates an expected call of Reset.

func (*MockStateMockRecorder) SaveOffset

func (mr *MockStateMockRecorder) SaveOffset(arg0 interface{}) *gomock.Call

SaveOffset indicates an expected call of SaveOffset.

func (*MockStateMockRecorder) Set

func (mr *MockStateMockRecorder) Set(key, value interface{}) *gomock.Call

Set indicates an expected call of Set.

Jump to

Keyboard shortcuts

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