Documentation ¶
Index ¶
- type StepPlugin
- func (_m *StepPlugin) Abort(_a0 *v1alpha1.Rollout, _a1 *types.RpcStepContext) (types.RpcStepResult, types.RpcError)
- func (_m *StepPlugin) InitPlugin() types.RpcError
- func (_m *StepPlugin) Run(_a0 *v1alpha1.Rollout, _a1 *types.RpcStepContext) (types.RpcStepResult, types.RpcError)
- func (_m *StepPlugin) Terminate(_a0 *v1alpha1.Rollout, _a1 *types.RpcStepContext) (types.RpcStepResult, types.RpcError)
- func (_m *StepPlugin) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StepPlugin ¶
StepPlugin is an autogenerated mock type for the StepPlugin type
func NewStepPlugin ¶
func NewStepPlugin(t interface { mock.TestingT Cleanup(func()) }) *StepPlugin
NewStepPlugin creates a new instance of StepPlugin. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*StepPlugin) Abort ¶
func (_m *StepPlugin) Abort(_a0 *v1alpha1.Rollout, _a1 *types.RpcStepContext) (types.RpcStepResult, types.RpcError)
Abort provides a mock function with given fields: _a0, _a1
func (*StepPlugin) InitPlugin ¶
func (_m *StepPlugin) InitPlugin() types.RpcError
InitPlugin provides a mock function with given fields:
func (*StepPlugin) Run ¶
func (_m *StepPlugin) Run(_a0 *v1alpha1.Rollout, _a1 *types.RpcStepContext) (types.RpcStepResult, types.RpcError)
Run provides a mock function with given fields: _a0, _a1
func (*StepPlugin) Terminate ¶
func (_m *StepPlugin) Terminate(_a0 *v1alpha1.Rollout, _a1 *types.RpcStepContext) (types.RpcStepResult, types.RpcError)
Terminate provides a mock function with given fields: _a0, _a1
func (*StepPlugin) Type ¶
func (_m *StepPlugin) Type() string
Type provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.