Documentation ¶
Overview ¶
Package automatic is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consensus ¶
type Consensus interface {
Verify(r verification.TaskResponse, set *verification.Settings, token string) (externalsvc.VerificationResults, error)
}
func NewConsensus ¶
func NewConsensus(s datastore.Storage, rs responsesvc.ResponseSVC) Consensus
type MockConsensus ¶
type MockConsensus struct {
// contains filtered or unexported fields
}
MockConsensus is a mock of Consensus interface
func NewMockConsensus ¶
func NewMockConsensus(ctrl *gomock.Controller) *MockConsensus
NewMockConsensus creates a new mock instance
func (*MockConsensus) EXPECT ¶
func (m *MockConsensus) EXPECT() *MockConsensusMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockConsensus) Verify ¶
func (m *MockConsensus) Verify(r verification.TaskResponse, set *verification.Settings, t string) (externalsvc.VerificationResults, error)
Verify mocks base method
type MockConsensusMockRecorder ¶
type MockConsensusMockRecorder struct {
// contains filtered or unexported fields
}
MockConsensusMockRecorder is the mock recorder for MockConsensus
func (*MockConsensusMockRecorder) Verify ¶
func (mr *MockConsensusMockRecorder) Verify(r, s, t interface{}) *gomock.Call
Verify indicates an expected call of Verify
Click to show internal directories.
Click to hide internal directories.