mocks

package
v0.74.0-preview.5 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

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

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

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

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

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

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

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

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.

Jump to

Keyboard shortcuts

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