mock_tss

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2025 License: LGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_tss is a generated GoMock package.

Package mock_tss is a generated GoMock package.

Package mock_tss is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockECDSAKeyshareStorer

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

MockECDSAKeyshareStorer is a mock of ECDSAKeyshareStorer interface.

func NewMockECDSAKeyshareStorer

func NewMockECDSAKeyshareStorer(ctrl *gomock.Controller) *MockECDSAKeyshareStorer

NewMockECDSAKeyshareStorer creates a new mock instance.

func (*MockECDSAKeyshareStorer) EXPECT

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

func (*MockECDSAKeyshareStorer) GetKeyshare

GetKeyshare mocks base method.

func (*MockECDSAKeyshareStorer) LockKeyshare

func (m *MockECDSAKeyshareStorer) LockKeyshare()

LockKeyshare mocks base method.

func (*MockECDSAKeyshareStorer) StoreKeyshare

func (m *MockECDSAKeyshareStorer) StoreKeyshare(keyshare keyshare.ECDSAKeyshare) error

StoreKeyshare mocks base method.

func (*MockECDSAKeyshareStorer) UnlockKeyshare

func (m *MockECDSAKeyshareStorer) UnlockKeyshare()

UnlockKeyshare mocks base method.

type MockECDSAKeyshareStorerMockRecorder

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

MockECDSAKeyshareStorerMockRecorder is the mock recorder for MockECDSAKeyshareStorer.

func (*MockECDSAKeyshareStorerMockRecorder) GetKeyshare

func (mr *MockECDSAKeyshareStorerMockRecorder) GetKeyshare() *gomock.Call

GetKeyshare indicates an expected call of GetKeyshare.

func (*MockECDSAKeyshareStorerMockRecorder) LockKeyshare

func (mr *MockECDSAKeyshareStorerMockRecorder) LockKeyshare() *gomock.Call

LockKeyshare indicates an expected call of LockKeyshare.

func (*MockECDSAKeyshareStorerMockRecorder) StoreKeyshare

func (mr *MockECDSAKeyshareStorerMockRecorder) StoreKeyshare(keyshare any) *gomock.Call

StoreKeyshare indicates an expected call of StoreKeyshare.

func (*MockECDSAKeyshareStorerMockRecorder) UnlockKeyshare

func (mr *MockECDSAKeyshareStorerMockRecorder) UnlockKeyshare() *gomock.Call

UnlockKeyshare indicates an expected call of UnlockKeyshare.

type MockSaveDataStorer

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

MockSaveDataStorer is a mock of SaveDataStorer interface.

func NewMockSaveDataStorer

func NewMockSaveDataStorer(ctrl *gomock.Controller) *MockSaveDataStorer

NewMockSaveDataStorer creates a new mock instance.

func (*MockSaveDataStorer) EXPECT

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

func (*MockSaveDataStorer) GetKeyshare

func (m *MockSaveDataStorer) GetKeyshare() (keyshare.ECDSAKeyshare, error)

GetKeyshare mocks base method.

func (*MockSaveDataStorer) LockKeyshare

func (m *MockSaveDataStorer) LockKeyshare()

LockKeyshare mocks base method.

func (*MockSaveDataStorer) StoreKeyshare

func (m *MockSaveDataStorer) StoreKeyshare(keyshare keyshare.ECDSAKeyshare) error

StoreKeyshare mocks base method.

func (*MockSaveDataStorer) UnlockKeyshare

func (m *MockSaveDataStorer) UnlockKeyshare()

UnlockKeyshare mocks base method.

type MockSaveDataStorerMockRecorder

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

MockSaveDataStorerMockRecorder is the mock recorder for MockSaveDataStorer.

func (*MockSaveDataStorerMockRecorder) GetKeyshare

func (mr *MockSaveDataStorerMockRecorder) GetKeyshare() *gomock.Call

GetKeyshare indicates an expected call of GetKeyshare.

func (*MockSaveDataStorerMockRecorder) LockKeyshare

func (mr *MockSaveDataStorerMockRecorder) LockKeyshare() *gomock.Call

LockKeyshare indicates an expected call of LockKeyshare.

func (*MockSaveDataStorerMockRecorder) StoreKeyshare

func (mr *MockSaveDataStorerMockRecorder) StoreKeyshare(keyshare interface{}) *gomock.Call

StoreKeyshare indicates an expected call of StoreKeyshare.

func (*MockSaveDataStorerMockRecorder) UnlockKeyshare

func (mr *MockSaveDataStorerMockRecorder) UnlockKeyshare() *gomock.Call

UnlockKeyshare indicates an expected call of UnlockKeyshare.

type MockTssProcess

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

MockTssProcess is a mock of TssProcess interface.

func NewMockTssProcess

func NewMockTssProcess(ctrl *gomock.Controller) *MockTssProcess

NewMockTssProcess creates a new mock instance.

func (*MockTssProcess) EXPECT

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

func (*MockTssProcess) Ready

func (m *MockTssProcess) Ready(readyPeers, excludedPeers []peer.ID) (bool, error)

Ready mocks base method.

func (*MockTssProcess) Retryable

func (m *MockTssProcess) Retryable() bool

Retryable mocks base method.

func (*MockTssProcess) Run

func (m *MockTssProcess) Run(ctx context.Context, coordinator bool, resultChn chan any, params []byte) error

Run mocks base method.

func (*MockTssProcess) SessionID

func (m *MockTssProcess) SessionID() string

SessionID mocks base method.

func (*MockTssProcess) StartParams

func (m *MockTssProcess) StartParams(readyPeers []peer.ID) []byte

StartParams mocks base method.

func (*MockTssProcess) Stop

func (m *MockTssProcess) Stop()

Stop mocks base method.

func (*MockTssProcess) ValidCoordinators

func (m *MockTssProcess) ValidCoordinators() []peer.ID

ValidCoordinators mocks base method.

type MockTssProcessMockRecorder

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

MockTssProcessMockRecorder is the mock recorder for MockTssProcess.

func (*MockTssProcessMockRecorder) Ready

func (mr *MockTssProcessMockRecorder) Ready(readyPeers, excludedPeers any) *gomock.Call

Ready indicates an expected call of Ready.

func (*MockTssProcessMockRecorder) Retryable

func (mr *MockTssProcessMockRecorder) Retryable() *gomock.Call

Retryable indicates an expected call of Retryable.

func (*MockTssProcessMockRecorder) Run

func (mr *MockTssProcessMockRecorder) Run(ctx, coordinator, resultChn, params any) *gomock.Call

Run indicates an expected call of Run.

func (*MockTssProcessMockRecorder) SessionID

func (mr *MockTssProcessMockRecorder) SessionID() *gomock.Call

SessionID indicates an expected call of SessionID.

func (*MockTssProcessMockRecorder) StartParams

func (mr *MockTssProcessMockRecorder) StartParams(readyPeers any) *gomock.Call

StartParams indicates an expected call of StartParams.

func (*MockTssProcessMockRecorder) Stop

Stop indicates an expected call of Stop.

func (*MockTssProcessMockRecorder) ValidCoordinators

func (mr *MockTssProcessMockRecorder) ValidCoordinators() *gomock.Call

ValidCoordinators indicates an expected call of ValidCoordinators.

Jump to

Keyboard shortcuts

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