mocks

package
v2.5.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpClient

type HttpClient struct {
	mock.Mock
}

HttpClient is an autogenerated mock type for the HttpClient type

func NewHttpClient

func NewHttpClient(t mockConstructorTestingTNewHttpClient) *HttpClient

NewHttpClient creates a new instance of HttpClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*HttpClient) Do

func (_m *HttpClient) Do(req *http.Request) (*http.Response, error)

Do provides a mock function with given fields: req

type Registry

type Registry struct {
	mock.Mock
}

Registry is an autogenerated mock type for the Registry type

func NewRegistry

func NewRegistry(t mockConstructorTestingTNewRegistry) *Registry

NewRegistry creates a new instance of Registry. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Registry) CheckCallback

func (_m *Registry) CheckCallback(opts *bind.TransactOpts, id *big.Int, values [][]byte, extraData []byte) (*types.Transaction, error)

CheckCallback provides a mock function with given fields: opts, id, values, extraData

func (*Registry) GetActiveUpkeepIDs

func (_m *Registry) GetActiveUpkeepIDs(opts *bind.CallOpts, startIndex *big.Int, maxCount *big.Int) ([]*big.Int, error)

GetActiveUpkeepIDs provides a mock function with given fields: opts, startIndex, maxCount

func (*Registry) GetState

GetState provides a mock function with given fields: opts

func (*Registry) GetUpkeep

GetUpkeep provides a mock function with given fields: opts, id

func (*Registry) GetUpkeepPrivilegeConfig

func (_m *Registry) GetUpkeepPrivilegeConfig(opts *bind.CallOpts, upkeepId *big.Int) ([]byte, error)

GetUpkeepPrivilegeConfig provides a mock function with given fields: opts, upkeepId

func (*Registry) GetUpkeepTriggerConfig

func (_m *Registry) GetUpkeepTriggerConfig(opts *bind.CallOpts, upkeepId *big.Int) ([]byte, error)

GetUpkeepTriggerConfig provides a mock function with given fields: opts, upkeepId

func (*Registry) ParseLog

func (_m *Registry) ParseLog(log types.Log) (generated.AbigenLog, error)

ParseLog provides a mock function with given fields: log

Jump to

Keyboard shortcuts

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