automock

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RuntimeResolver

type RuntimeResolver struct {
	mock.Mock
}

RuntimeResolver is an autogenerated mock type for the RuntimeResolver type

func NewRuntimeResolver

func NewRuntimeResolver(t mockConstructorTestingTNewRuntimeResolver) *RuntimeResolver

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

func (*RuntimeResolver) Resolve

Resolve provides a mock function with given fields: targets

type Strategy

type Strategy struct {
	mock.Mock
}

Strategy is an autogenerated mock type for the Strategy type

func NewStrategy

func NewStrategy(t mockConstructorTestingTNewStrategy) *Strategy

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

func (*Strategy) Cancel

func (_m *Strategy) Cancel(executionID string)

Cancel provides a mock function with given fields: executionID

func (*Strategy) Execute

func (_m *Strategy) Execute(operations []orchestration.RuntimeOperation, strategySpec orchestration.StrategySpec) (string, error)

Execute provides a mock function with given fields: operations, strategySpec

func (*Strategy) Insert

func (_m *Strategy) Insert(execID string, operations []orchestration.RuntimeOperation, strategySpec orchestration.StrategySpec) error

Insert provides a mock function with given fields: execID, operations, strategySpec

func (*Strategy) SpeedUp

func (_m *Strategy) SpeedUp(speedFactor int)

SpeedUp provides a mock function with given fields: speedFactor

func (*Strategy) Wait

func (_m *Strategy) Wait(executionID string)

Wait provides a mock function with given fields: executionID

Jump to

Keyboard shortcuts

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