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 MockatxDB ¶
type MockatxDB struct {
// contains filtered or unexported fields
}
MockatxDB is a mock of atxDB interface.
func NewMockatxDB ¶
func NewMockatxDB(ctrl *gomock.Controller) *MockatxDB
NewMockatxDB creates a new mock instance.
func (*MockatxDB) EXPECT ¶
func (m *MockatxDB) EXPECT() *MockatxDBMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockatxDB) GetAtxHeader ¶
GetAtxHeader mocks base method.
type MockatxDBMockRecorder ¶
type MockatxDBMockRecorder struct {
// contains filtered or unexported fields
}
MockatxDBMockRecorder is the mock recorder for MockatxDB.
func (*MockatxDBMockRecorder) GetAtxHeader ¶
func (mr *MockatxDBMockRecorder) GetAtxHeader(arg0 interface{}) *gomock.Call
GetAtxHeader indicates an expected call of GetAtxHeader.
type MockeligibilityValidator ¶
type MockeligibilityValidator struct {
// contains filtered or unexported fields
}
MockeligibilityValidator is a mock of eligibilityValidator interface.
func NewMockeligibilityValidator ¶
func NewMockeligibilityValidator(ctrl *gomock.Controller) *MockeligibilityValidator
NewMockeligibilityValidator creates a new mock instance.
func (*MockeligibilityValidator) CheckEligibility ¶
func (m *MockeligibilityValidator) CheckEligibility(arg0 context.Context, arg1 *types.Ballot) (bool, error)
CheckEligibility mocks base method.
func (*MockeligibilityValidator) EXPECT ¶
func (m *MockeligibilityValidator) EXPECT() *MockeligibilityValidatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockeligibilityValidatorMockRecorder ¶
type MockeligibilityValidatorMockRecorder struct {
// contains filtered or unexported fields
}
MockeligibilityValidatorMockRecorder is the mock recorder for MockeligibilityValidator.
func (*MockeligibilityValidatorMockRecorder) CheckEligibility ¶
func (mr *MockeligibilityValidatorMockRecorder) CheckEligibility(arg0, arg1 interface{}) *gomock.Call
CheckEligibility indicates an expected call of CheckEligibility.
type Mockmesh ¶
type Mockmesh struct {
// contains filtered or unexported fields
}
Mockmesh is a mock of mesh interface.
func NewMockmesh ¶
func NewMockmesh(ctrl *gomock.Controller) *Mockmesh
NewMockmesh creates a new mock instance.
func (*Mockmesh) AddProposal ¶
AddProposal mocks base method.
func (*Mockmesh) EXPECT ¶
func (m *Mockmesh) EXPECT() *MockmeshMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Mockmesh) HasProposal ¶
func (m *Mockmesh) HasProposal(arg0 types.ProposalID) bool
HasProposal mocks base method.
type MockmeshMockRecorder ¶
type MockmeshMockRecorder struct {
// contains filtered or unexported fields
}
MockmeshMockRecorder is the mock recorder for Mockmesh.
func (*MockmeshMockRecorder) AddProposal ¶
func (mr *MockmeshMockRecorder) AddProposal(arg0 interface{}) *gomock.Call
AddProposal indicates an expected call of AddProposal.
func (*MockmeshMockRecorder) GetBallot ¶
func (mr *MockmeshMockRecorder) GetBallot(arg0 interface{}) *gomock.Call
GetBallot indicates an expected call of GetBallot.
func (*MockmeshMockRecorder) HasBallot ¶
func (mr *MockmeshMockRecorder) HasBallot(arg0 interface{}) *gomock.Call
HasBallot indicates an expected call of HasBallot.
func (*MockmeshMockRecorder) HasProposal ¶
func (mr *MockmeshMockRecorder) HasProposal(arg0 interface{}) *gomock.Call
HasProposal indicates an expected call of HasProposal.