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.
Index ¶
- type MockEthCallResult
- func (m *MockEthCallResult) Bytes() []byte
- func (m *MockEthCallResult) EXPECT() *MockEthCallResultMockRecorder
- func (m *MockEthCallResult) HasRequiredConfirmations() bool
- func (m *MockEthCallResult) Normalised() (map[string]string, error)
- func (m *MockEthCallResult) PassesFilters() (bool, error)
- func (m *MockEthCallResult) Values() ([]interface{}, error)
- type MockEthCallResultMockRecorder
- func (mr *MockEthCallResultMockRecorder) Bytes() *gomock.Call
- func (mr *MockEthCallResultMockRecorder) HasRequiredConfirmations() *gomock.Call
- func (mr *MockEthCallResultMockRecorder) Normalised() *gomock.Call
- func (mr *MockEthCallResultMockRecorder) PassesFilters() *gomock.Call
- func (mr *MockEthCallResultMockRecorder) Values() *gomock.Call
- type MockEthereumConfirmations
- type MockEthereumConfirmationsMockRecorder
- type MockSpecActivationsListener
- type MockSpecActivationsListenerMockRecorder
- 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 MockEthCallResult ¶
type MockEthCallResult struct {
// contains filtered or unexported fields
}
MockEthCallResult is a mock of EthCallResult interface.
func NewMockEthCallResult ¶
func NewMockEthCallResult(ctrl *gomock.Controller) *MockEthCallResult
NewMockEthCallResult creates a new mock instance.
func (*MockEthCallResult) Bytes ¶
func (m *MockEthCallResult) Bytes() []byte
Bytes mocks base method.
func (*MockEthCallResult) EXPECT ¶
func (m *MockEthCallResult) EXPECT() *MockEthCallResultMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEthCallResult) HasRequiredConfirmations ¶
func (m *MockEthCallResult) HasRequiredConfirmations() bool
HasRequiredConfirmations mocks base method.
func (*MockEthCallResult) Normalised ¶
func (m *MockEthCallResult) Normalised() (map[string]string, error)
Normalised mocks base method.
func (*MockEthCallResult) PassesFilters ¶
func (m *MockEthCallResult) PassesFilters() (bool, error)
PassesFilters mocks base method.
func (*MockEthCallResult) Values ¶
func (m *MockEthCallResult) Values() ([]interface{}, error)
Values mocks base method.
type MockEthCallResultMockRecorder ¶
type MockEthCallResultMockRecorder struct {
// contains filtered or unexported fields
}
MockEthCallResultMockRecorder is the mock recorder for MockEthCallResult.
func (*MockEthCallResultMockRecorder) Bytes ¶
func (mr *MockEthCallResultMockRecorder) Bytes() *gomock.Call
Bytes indicates an expected call of Bytes.
func (*MockEthCallResultMockRecorder) HasRequiredConfirmations ¶
func (mr *MockEthCallResultMockRecorder) HasRequiredConfirmations() *gomock.Call
HasRequiredConfirmations indicates an expected call of HasRequiredConfirmations.
func (*MockEthCallResultMockRecorder) Normalised ¶
func (mr *MockEthCallResultMockRecorder) Normalised() *gomock.Call
Normalised indicates an expected call of Normalised.
func (*MockEthCallResultMockRecorder) PassesFilters ¶
func (mr *MockEthCallResultMockRecorder) PassesFilters() *gomock.Call
PassesFilters indicates an expected call of PassesFilters.
func (*MockEthCallResultMockRecorder) Values ¶
func (mr *MockEthCallResultMockRecorder) Values() *gomock.Call
Values indicates an expected call of Values.
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) Check ¶
func (m *MockEthereumConfirmations) Check(arg0 uint64) error
Check 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) Check ¶
func (mr *MockEthereumConfirmationsMockRecorder) Check(arg0 interface{}) *gomock.Call
Check indicates an expected call of Check.
type MockSpecActivationsListener ¶
type MockSpecActivationsListener struct {
// contains filtered or unexported fields
}
MockSpecActivationsListener is a mock of SpecActivationsListener interface.
func NewMockSpecActivationsListener ¶
func NewMockSpecActivationsListener(ctrl *gomock.Controller) *MockSpecActivationsListener
NewMockSpecActivationsListener creates a new mock instance.
func (*MockSpecActivationsListener) EXPECT ¶
func (m *MockSpecActivationsListener) EXPECT() *MockSpecActivationsListenerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSpecActivationsListener) OnSpecActivated ¶
func (m *MockSpecActivationsListener) OnSpecActivated(arg0 context.Context, arg1 datasource.Spec) error
OnSpecActivated mocks base method.
func (*MockSpecActivationsListener) OnSpecDeactivated ¶
func (m *MockSpecActivationsListener) OnSpecDeactivated(arg0 context.Context, arg1 datasource.Spec)
OnSpecDeactivated mocks base method.
type MockSpecActivationsListenerMockRecorder ¶
type MockSpecActivationsListenerMockRecorder struct {
// contains filtered or unexported fields
}
MockSpecActivationsListenerMockRecorder is the mock recorder for MockSpecActivationsListener.
func (*MockSpecActivationsListenerMockRecorder) OnSpecActivated ¶
func (mr *MockSpecActivationsListenerMockRecorder) OnSpecActivated(arg0, arg1 interface{}) *gomock.Call
OnSpecActivated indicates an expected call of OnSpecActivated.
func (*MockSpecActivationsListenerMockRecorder) OnSpecDeactivated ¶
func (mr *MockSpecActivationsListenerMockRecorder) OnSpecDeactivated(arg0, arg1 interface{}) *gomock.Call
OnSpecDeactivated indicates an expected call of OnSpecDeactivated.
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) StartCheck ¶
func (m *MockWitness) StartCheck(arg0 validators.Resource, arg1 func(interface{}, bool), arg2 time.Time) error
StartCheck 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) StartCheck ¶
func (mr *MockWitnessMockRecorder) StartCheck(arg0, arg1, arg2 interface{}) *gomock.Call
StartCheck indicates an expected call of StartCheck.