mocks

package
v0.4.11 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRegistrationManager

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

MockRegistrationManager is a mock of RegistrationManager interface.

func NewMockRegistrationManager

func NewMockRegistrationManager(ctrl *gomock.Controller) *MockRegistrationManager

NewMockRegistrationManager creates a new mock instance.

func (*MockRegistrationManager) Check

Check mocks base method.

func (*MockRegistrationManager) EXPECT

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

func (*MockRegistrationManager) GetRegistration

GetRegistration mocks base method.

func (*MockRegistrationManager) SendStore

func (m *MockRegistrationManager) SendStore(arg0 validators.StoreReq)

SendStore mocks base method.

type MockRegistrationManagerMockRecorder

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

MockRegistrationManagerMockRecorder is the mock recorder for MockRegistrationManager.

func (*MockRegistrationManagerMockRecorder) Check

func (mr *MockRegistrationManagerMockRecorder) Check(arg0 interface{}) *gomock.Call

Check indicates an expected call of Check.

func (*MockRegistrationManagerMockRecorder) GetRegistration

func (mr *MockRegistrationManagerMockRecorder) GetRegistration(arg0, arg1 interface{}) *gomock.Call

GetRegistration indicates an expected call of GetRegistration.

func (*MockRegistrationManagerMockRecorder) SendStore

func (mr *MockRegistrationManagerMockRecorder) SendStore(arg0 interface{}) *gomock.Call

SendStore indicates an expected call of SendStore.

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) Duties

func (m *MockState) Duties() structs.DutiesState

Duties 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) KnownValidators

func (m *MockState) KnownValidators() structs.ValidatorsState

KnownValidators mocks base method.

type MockStateMockRecorder

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

MockStateMockRecorder is the mock recorder for MockState.

func (*MockStateMockRecorder) Duties

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

Duties indicates an expected call of Duties.

func (*MockStateMockRecorder) KnownValidators

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

KnownValidators indicates an expected call of KnownValidators.

type MockVerifier

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

MockVerifier is a mock of Verifier interface.

func NewMockVerifier

func NewMockVerifier(ctrl *gomock.Controller) *MockVerifier

NewMockVerifier creates a new mock instance.

func (*MockVerifier) EXPECT

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

func (*MockVerifier) GetVerifyChan

func (m *MockVerifier) GetVerifyChan(arg0 uint) chan verify.Request

GetVerifyChan mocks base method.

type MockVerifierMockRecorder

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

MockVerifierMockRecorder is the mock recorder for MockVerifier.

func (*MockVerifierMockRecorder) GetVerifyChan

func (mr *MockVerifierMockRecorder) GetVerifyChan(arg0 interface{}) *gomock.Call

GetVerifyChan indicates an expected call of GetVerifyChan.

Jump to

Keyboard shortcuts

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