mocks

package
v2.6.0-beta0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AsyncDeleter added in v2.4.0

type AsyncDeleter struct {
	mock.Mock
}

AsyncDeleter is an autogenerated mock type for the asyncDeleter type

func NewAsyncDeleter added in v2.4.0

func NewAsyncDeleter(t mockConstructorTestingTNewAsyncDeleter) *AsyncDeleter

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

func (*AsyncDeleter) AsyncDelete added in v2.4.0

func (_m *AsyncDeleter) AsyncDelete(req *pb.TransmitRequest)

AsyncDelete provides a mock function with given fields: req

type ChainHeadTracker

type ChainHeadTracker struct {
	mock.Mock
}

ChainHeadTracker is an autogenerated mock type for the ChainHeadTracker type

func NewChainHeadTracker

func NewChainHeadTracker(t mockConstructorTestingTNewChainHeadTracker) *ChainHeadTracker

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

func (*ChainHeadTracker) Client

func (_m *ChainHeadTracker) Client() client.Client

Client provides a mock function with given fields:

func (*ChainHeadTracker) HeadTracker

HeadTracker provides a mock function with given fields:

type MockRunner added in v2.5.0

type MockRunner struct {
	Trrs pipeline.TaskRunResults
	Err  error
}

func (*MockRunner) ExecuteRun added in v2.5.0

func (m *MockRunner) ExecuteRun(ctx context.Context, spec pipeline.Spec, vars pipeline.Vars, l logger.Logger) (run *pipeline.Run, trrs pipeline.TaskRunResults, err error)

type MockTask added in v2.5.0

type MockTask struct {
	// contains filtered or unexported fields
}

func (*MockTask) Base added in v2.5.0

func (m *MockTask) Base() *pipeline.BaseTask

func (*MockTask) DotID added in v2.5.0

func (m *MockTask) DotID() string

func (*MockTask) ID added in v2.5.0

func (m *MockTask) ID() int

func (*MockTask) Inputs added in v2.5.0

func (m *MockTask) Inputs() []pipeline.TaskDependency

func (*MockTask) OutputIndex added in v2.5.0

func (m *MockTask) OutputIndex() int32

func (*MockTask) Outputs added in v2.5.0

func (m *MockTask) Outputs() []pipeline.Task

func (*MockTask) Run added in v2.5.0

func (*MockTask) TaskMaxBackoff added in v2.5.0

func (m *MockTask) TaskMaxBackoff() time.Duration

func (*MockTask) TaskMinBackoff added in v2.5.0

func (m *MockTask) TaskMinBackoff() time.Duration

func (*MockTask) TaskRetries added in v2.5.0

func (m *MockTask) TaskRetries() uint32

func (*MockTask) TaskTimeout added in v2.5.0

func (m *MockTask) TaskTimeout() (time.Duration, bool)

func (*MockTask) Type added in v2.5.0

func (m *MockTask) Type() pipeline.TaskType

Jump to

Keyboard shortcuts

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