Documentation
¶
Index ¶
- type RuntimeResolver
- type Strategy
- func (_m *Strategy) Cancel(executionID string)
- func (_m *Strategy) Execute(operations []orchestration.RuntimeOperation, ...) (string, error)
- func (_m *Strategy) Insert(execID string, operations []orchestration.RuntimeOperation, ...) error
- func (_m *Strategy) SpeedUp(speedFactor int)
- func (_m *Strategy) Wait(executionID string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RuntimeResolver ¶
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 ¶
func (_m *RuntimeResolver) Resolve(targets orchestration.TargetSpec) ([]orchestration.Runtime, error)
Resolve provides a mock function with given fields: targets
type Strategy ¶
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) 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