Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockEthCallEngine
- func (m *MockEthCallEngine) CallSpec(arg0 context.Context, arg1 string, arg2 uint64) (ethcall.Result, error)
- func (m *MockEthCallEngine) EXPECT() *MockEthCallEngineMockRecorder
- func (m *MockEthCallEngine) GetEthTime(arg0 context.Context, arg1 uint64) (uint64, error)
- func (m *MockEthCallEngine) GetInitialTriggerTime(arg0 string) (uint64, error)
- func (m *MockEthCallEngine) GetRequiredConfirmations(arg0 string) (uint64, error)
- func (m *MockEthCallEngine) MakeResult(arg0 string, arg1 []byte) (ethcall.Result, error)
- func (m *MockEthCallEngine) Start()
- func (m *MockEthCallEngine) StartAtHeight(arg0, arg1 uint64)
- type MockEthCallEngineMockRecorder
- func (mr *MockEthCallEngineMockRecorder) CallSpec(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockEthCallEngineMockRecorder) GetEthTime(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEthCallEngineMockRecorder) GetInitialTriggerTime(arg0 interface{}) *gomock.Call
- func (mr *MockEthCallEngineMockRecorder) GetRequiredConfirmations(arg0 interface{}) *gomock.Call
- func (mr *MockEthCallEngineMockRecorder) MakeResult(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEthCallEngineMockRecorder) Start() *gomock.Call
- func (mr *MockEthCallEngineMockRecorder) StartAtHeight(arg0, arg1 interface{}) *gomock.Call
- type MockEthereumConfirmations
- type MockEthereumConfirmationsMockRecorder
- type MockOracleDataBroadcaster
- type MockOracleDataBroadcasterMockRecorder
- type MockResult
- func (m *MockResult) Bytes() []byte
- func (m *MockResult) EXPECT() *MockResultMockRecorder
- func (m *MockResult) HasRequiredConfirmations() bool
- func (m *MockResult) Normalised() (map[string]string, error)
- func (m *MockResult) PassesFilters() (bool, error)
- func (m *MockResult) Values() ([]interface{}, error)
- type MockResultMockRecorder
- func (mr *MockResultMockRecorder) Bytes() *gomock.Call
- func (mr *MockResultMockRecorder) HasRequiredConfirmations() *gomock.Call
- func (mr *MockResultMockRecorder) Normalised() *gomock.Call
- func (mr *MockResultMockRecorder) PassesFilters() *gomock.Call
- func (mr *MockResultMockRecorder) Values() *gomock.Call
- type MockTimeService
- type MockTimeServiceMockRecorder
- type MockWitness
- type MockWitnessMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEthCallEngine ¶
type MockEthCallEngine struct {
// contains filtered or unexported fields
}
MockEthCallEngine is a mock of EthCallEngine interface.
func NewMockEthCallEngine ¶
func NewMockEthCallEngine(ctrl *gomock.Controller) *MockEthCallEngine
NewMockEthCallEngine creates a new mock instance.
func (*MockEthCallEngine) CallSpec ¶
func (m *MockEthCallEngine) CallSpec(arg0 context.Context, arg1 string, arg2 uint64) (ethcall.Result, error)
CallSpec mocks base method.
func (*MockEthCallEngine) EXPECT ¶
func (m *MockEthCallEngine) EXPECT() *MockEthCallEngineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEthCallEngine) GetEthTime ¶
GetEthTime mocks base method.
func (*MockEthCallEngine) GetInitialTriggerTime ¶
func (m *MockEthCallEngine) GetInitialTriggerTime(arg0 string) (uint64, error)
GetInitialTriggerTime mocks base method.
func (*MockEthCallEngine) GetRequiredConfirmations ¶
func (m *MockEthCallEngine) GetRequiredConfirmations(arg0 string) (uint64, error)
GetRequiredConfirmations mocks base method.
func (*MockEthCallEngine) MakeResult ¶
MakeResult mocks base method.
func (*MockEthCallEngine) StartAtHeight ¶
func (m *MockEthCallEngine) StartAtHeight(arg0, arg1 uint64)
StartAtHeight mocks base method.
type MockEthCallEngineMockRecorder ¶
type MockEthCallEngineMockRecorder struct {
// contains filtered or unexported fields
}
MockEthCallEngineMockRecorder is the mock recorder for MockEthCallEngine.
func (*MockEthCallEngineMockRecorder) CallSpec ¶
func (mr *MockEthCallEngineMockRecorder) CallSpec(arg0, arg1, arg2 interface{}) *gomock.Call
CallSpec indicates an expected call of CallSpec.
func (*MockEthCallEngineMockRecorder) GetEthTime ¶
func (mr *MockEthCallEngineMockRecorder) GetEthTime(arg0, arg1 interface{}) *gomock.Call
GetEthTime indicates an expected call of GetEthTime.
func (*MockEthCallEngineMockRecorder) GetInitialTriggerTime ¶
func (mr *MockEthCallEngineMockRecorder) GetInitialTriggerTime(arg0 interface{}) *gomock.Call
GetInitialTriggerTime indicates an expected call of GetInitialTriggerTime.
func (*MockEthCallEngineMockRecorder) GetRequiredConfirmations ¶
func (mr *MockEthCallEngineMockRecorder) GetRequiredConfirmations(arg0 interface{}) *gomock.Call
GetRequiredConfirmations indicates an expected call of GetRequiredConfirmations.
func (*MockEthCallEngineMockRecorder) MakeResult ¶
func (mr *MockEthCallEngineMockRecorder) MakeResult(arg0, arg1 interface{}) *gomock.Call
MakeResult indicates an expected call of MakeResult.
func (*MockEthCallEngineMockRecorder) Start ¶
func (mr *MockEthCallEngineMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start.
func (*MockEthCallEngineMockRecorder) StartAtHeight ¶
func (mr *MockEthCallEngineMockRecorder) StartAtHeight(arg0, arg1 interface{}) *gomock.Call
StartAtHeight indicates an expected call of StartAtHeight.
type MockEthereumConfirmations ¶
type MockEthereumConfirmations struct {
// contains filtered or unexported fields
}
MockEthereumConfirmations is a mock of EthereumConfirmations interface.
func NewMockEthereumConfirmations ¶
func NewMockEthereumConfirmations(ctrl *gomock.Controller) *MockEthereumConfirmations
NewMockEthereumConfirmations creates a new mock instance.
func (*MockEthereumConfirmations) CheckRequiredConfirmations ¶
func (m *MockEthereumConfirmations) CheckRequiredConfirmations(arg0, arg1 uint64) error
CheckRequiredConfirmations mocks base method.
func (*MockEthereumConfirmations) EXPECT ¶
func (m *MockEthereumConfirmations) EXPECT() *MockEthereumConfirmationsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockEthereumConfirmationsMockRecorder ¶
type MockEthereumConfirmationsMockRecorder struct {
// contains filtered or unexported fields
}
MockEthereumConfirmationsMockRecorder is the mock recorder for MockEthereumConfirmations.
func (*MockEthereumConfirmationsMockRecorder) CheckRequiredConfirmations ¶
func (mr *MockEthereumConfirmationsMockRecorder) CheckRequiredConfirmations(arg0, arg1 interface{}) *gomock.Call
CheckRequiredConfirmations indicates an expected call of CheckRequiredConfirmations.
type MockOracleDataBroadcaster ¶
type MockOracleDataBroadcaster struct {
// contains filtered or unexported fields
}
MockOracleDataBroadcaster is a mock of OracleDataBroadcaster interface.
func NewMockOracleDataBroadcaster ¶
func NewMockOracleDataBroadcaster(ctrl *gomock.Controller) *MockOracleDataBroadcaster
NewMockOracleDataBroadcaster creates a new mock instance.
func (*MockOracleDataBroadcaster) BroadcastData ¶
BroadcastData mocks base method.
func (*MockOracleDataBroadcaster) EXPECT ¶
func (m *MockOracleDataBroadcaster) EXPECT() *MockOracleDataBroadcasterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockOracleDataBroadcasterMockRecorder ¶
type MockOracleDataBroadcasterMockRecorder struct {
// contains filtered or unexported fields
}
MockOracleDataBroadcasterMockRecorder is the mock recorder for MockOracleDataBroadcaster.
func (*MockOracleDataBroadcasterMockRecorder) BroadcastData ¶
func (mr *MockOracleDataBroadcasterMockRecorder) BroadcastData(arg0, arg1 interface{}) *gomock.Call
BroadcastData indicates an expected call of BroadcastData.
type MockResult ¶
type MockResult struct {
// contains filtered or unexported fields
}
MockResult is a mock of Result interface.
func NewMockResult ¶
func NewMockResult(ctrl *gomock.Controller) *MockResult
NewMockResult creates a new mock instance.
func (*MockResult) EXPECT ¶
func (m *MockResult) EXPECT() *MockResultMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockResult) HasRequiredConfirmations ¶
func (m *MockResult) HasRequiredConfirmations() bool
HasRequiredConfirmations mocks base method.
func (*MockResult) Normalised ¶
func (m *MockResult) Normalised() (map[string]string, error)
Normalised mocks base method.
func (*MockResult) PassesFilters ¶
func (m *MockResult) PassesFilters() (bool, error)
PassesFilters mocks base method.
func (*MockResult) Values ¶
func (m *MockResult) Values() ([]interface{}, error)
Values mocks base method.
type MockResultMockRecorder ¶
type MockResultMockRecorder struct {
// contains filtered or unexported fields
}
MockResultMockRecorder is the mock recorder for MockResult.
func (*MockResultMockRecorder) Bytes ¶
func (mr *MockResultMockRecorder) Bytes() *gomock.Call
Bytes indicates an expected call of Bytes.
func (*MockResultMockRecorder) HasRequiredConfirmations ¶
func (mr *MockResultMockRecorder) HasRequiredConfirmations() *gomock.Call
HasRequiredConfirmations indicates an expected call of HasRequiredConfirmations.
func (*MockResultMockRecorder) Normalised ¶
func (mr *MockResultMockRecorder) Normalised() *gomock.Call
Normalised indicates an expected call of Normalised.
func (*MockResultMockRecorder) PassesFilters ¶
func (mr *MockResultMockRecorder) PassesFilters() *gomock.Call
PassesFilters indicates an expected call of PassesFilters.
func (*MockResultMockRecorder) Values ¶
func (mr *MockResultMockRecorder) Values() *gomock.Call
Values indicates an expected call of Values.
type MockTimeService ¶
type MockTimeService struct {
// contains filtered or unexported fields
}
MockTimeService is a mock of TimeService interface.
func NewMockTimeService ¶
func NewMockTimeService(ctrl *gomock.Controller) *MockTimeService
NewMockTimeService creates a new mock instance.
func (*MockTimeService) EXPECT ¶
func (m *MockTimeService) EXPECT() *MockTimeServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTimeService) GetTimeNow ¶
func (m *MockTimeService) GetTimeNow() time.Time
GetTimeNow mocks base method.
type MockTimeServiceMockRecorder ¶
type MockTimeServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockTimeServiceMockRecorder is the mock recorder for MockTimeService.
func (*MockTimeServiceMockRecorder) GetTimeNow ¶
func (mr *MockTimeServiceMockRecorder) GetTimeNow() *gomock.Call
GetTimeNow indicates an expected call of GetTimeNow.
type MockWitness ¶
type MockWitness struct {
// contains filtered or unexported fields
}
MockWitness is a mock of Witness interface.
func NewMockWitness ¶
func NewMockWitness(ctrl *gomock.Controller) *MockWitness
NewMockWitness creates a new mock instance.
func (*MockWitness) EXPECT ¶
func (m *MockWitness) EXPECT() *MockWitnessMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWitness) RestoreResource ¶
func (m *MockWitness) RestoreResource(arg0 validators.Resource, arg1 func(interface{}, bool)) error
RestoreResource mocks base method.
func (*MockWitness) StartCheckWithDelay ¶ added in v0.73.6
func (m *MockWitness) StartCheckWithDelay(arg0 validators.Resource, arg1 func(interface{}, bool), arg2 time.Time, arg3 int64) error
StartCheckWithDelay mocks base method.
type MockWitnessMockRecorder ¶
type MockWitnessMockRecorder struct {
// contains filtered or unexported fields
}
MockWitnessMockRecorder is the mock recorder for MockWitness.
func (*MockWitnessMockRecorder) RestoreResource ¶
func (mr *MockWitnessMockRecorder) RestoreResource(arg0, arg1 interface{}) *gomock.Call
RestoreResource indicates an expected call of RestoreResource.
func (*MockWitnessMockRecorder) StartCheckWithDelay ¶ added in v0.73.6
func (mr *MockWitnessMockRecorder) StartCheckWithDelay(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
StartCheckWithDelay indicates an expected call of StartCheckWithDelay.