Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockPowVerifier
- type MockPowVerifierMockRecorder
- type MockPowVerifierParamsCall
- func (c *MockPowVerifierParamsCall) Do(f func() registration.PowParams) *MockPowVerifierParamsCall
- func (c *MockPowVerifierParamsCall) DoAndReturn(f func() registration.PowParams) *MockPowVerifierParamsCall
- func (c *MockPowVerifierParamsCall) Return(arg0 registration.PowParams) *MockPowVerifierParamsCall
- type MockPowVerifierSetParamsCall
- type MockPowVerifierVerifyCall
- type MockWorkerService
- type MockWorkerServiceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPowVerifier ¶
type MockPowVerifier struct {
// contains filtered or unexported fields
}
MockPowVerifier is a mock of PowVerifier interface.
func NewMockPowVerifier ¶
func NewMockPowVerifier(ctrl *gomock.Controller) *MockPowVerifier
NewMockPowVerifier creates a new mock instance.
func (*MockPowVerifier) EXPECT ¶
func (m *MockPowVerifier) EXPECT() *MockPowVerifierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPowVerifier) Params ¶
func (m *MockPowVerifier) Params() registration.PowParams
Params mocks base method.
func (*MockPowVerifier) SetParams ¶
func (m *MockPowVerifier) SetParams(arg0 registration.PowParams)
SetParams mocks base method.
type MockPowVerifierMockRecorder ¶
type MockPowVerifierMockRecorder struct {
// contains filtered or unexported fields
}
MockPowVerifierMockRecorder is the mock recorder for MockPowVerifier.
func (*MockPowVerifierMockRecorder) Params ¶
func (mr *MockPowVerifierMockRecorder) Params() *MockPowVerifierParamsCall
Params indicates an expected call of Params.
func (*MockPowVerifierMockRecorder) SetParams ¶
func (mr *MockPowVerifierMockRecorder) SetParams(arg0 any) *MockPowVerifierSetParamsCall
SetParams indicates an expected call of SetParams.
func (*MockPowVerifierMockRecorder) Verify ¶
func (mr *MockPowVerifierMockRecorder) Verify(arg0, arg1, arg2 any) *MockPowVerifierVerifyCall
Verify indicates an expected call of Verify.
type MockPowVerifierParamsCall ¶ added in v0.10.3
MockPowVerifierParamsCall wrap *gomock.Call
func (*MockPowVerifierParamsCall) Do ¶ added in v0.10.3
func (c *MockPowVerifierParamsCall) Do(f func() registration.PowParams) *MockPowVerifierParamsCall
Do rewrite *gomock.Call.Do
func (*MockPowVerifierParamsCall) DoAndReturn ¶ added in v0.10.3
func (c *MockPowVerifierParamsCall) DoAndReturn(f func() registration.PowParams) *MockPowVerifierParamsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockPowVerifierParamsCall) Return ¶ added in v0.10.3
func (c *MockPowVerifierParamsCall) Return(arg0 registration.PowParams) *MockPowVerifierParamsCall
Return rewrite *gomock.Call.Return
type MockPowVerifierSetParamsCall ¶ added in v0.10.3
MockPowVerifierSetParamsCall wrap *gomock.Call
func (*MockPowVerifierSetParamsCall) Do ¶ added in v0.10.3
func (c *MockPowVerifierSetParamsCall) Do(f func(registration.PowParams)) *MockPowVerifierSetParamsCall
Do rewrite *gomock.Call.Do
func (*MockPowVerifierSetParamsCall) DoAndReturn ¶ added in v0.10.3
func (c *MockPowVerifierSetParamsCall) DoAndReturn(f func(registration.PowParams)) *MockPowVerifierSetParamsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockPowVerifierSetParamsCall) Return ¶ added in v0.10.3
func (c *MockPowVerifierSetParamsCall) Return() *MockPowVerifierSetParamsCall
Return rewrite *gomock.Call.Return
type MockPowVerifierVerifyCall ¶ added in v0.10.3
MockPowVerifierVerifyCall wrap *gomock.Call
func (*MockPowVerifierVerifyCall) Do ¶ added in v0.10.3
func (c *MockPowVerifierVerifyCall) Do(f func([]byte, []byte, uint64) error) *MockPowVerifierVerifyCall
Do rewrite *gomock.Call.Do
func (*MockPowVerifierVerifyCall) DoAndReturn ¶ added in v0.10.3
func (c *MockPowVerifierVerifyCall) DoAndReturn(f func([]byte, []byte, uint64) error) *MockPowVerifierVerifyCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockPowVerifierVerifyCall) Return ¶ added in v0.10.3
func (c *MockPowVerifierVerifyCall) Return(arg0 error) *MockPowVerifierVerifyCall
Return rewrite *gomock.Call.Return
type MockWorkerService ¶
type MockWorkerService struct {
// contains filtered or unexported fields
}
MockWorkerService is a mock of WorkerService interface.
func NewMockWorkerService ¶
func NewMockWorkerService(ctrl *gomock.Controller) *MockWorkerService
NewMockWorkerService creates a new mock instance.
func (*MockWorkerService) EXPECT ¶
func (m *MockWorkerService) EXPECT() *MockWorkerServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWorkerService) ExecuteRound ¶
ExecuteRound mocks base method.
func (*MockWorkerService) RegisterForProofs ¶
func (m *MockWorkerService) RegisterForProofs(arg0 context.Context) <-chan shared.NIP
RegisterForProofs mocks base method.
type MockWorkerServiceMockRecorder ¶
type MockWorkerServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockWorkerServiceMockRecorder is the mock recorder for MockWorkerService.
func (*MockWorkerServiceMockRecorder) ExecuteRound ¶
func (mr *MockWorkerServiceMockRecorder) ExecuteRound(arg0, arg1, arg2 any) *gomock.Call
ExecuteRound indicates an expected call of ExecuteRound.
func (*MockWorkerServiceMockRecorder) RegisterForProofs ¶
func (mr *MockWorkerServiceMockRecorder) RegisterForProofs(arg0 any) *gomock.Call
RegisterForProofs indicates an expected call of RegisterForProofs.