mocks

package
v1.8.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

type Resolver struct {
	mock.Mock
}

Resolver is an autogenerated mock type for the Resolver type

func NewResolver

func NewResolver(t interface {
	mock.TestingT
	Cleanup(func())
}) *Resolver

NewResolver creates a new instance of Resolver. 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 (*Resolver) Resolve

func (_m *Resolver) Resolve(index int32, _a1 v1alpha1.PluginStep, log *logrus.Entry) (plugin.StepPlugin, error)

Resolve provides a mock function with given fields: index, _a1, log

type StepPlugin

type StepPlugin struct {
	mock.Mock
}

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

Abort provides a mock function with given fields: _a0

func (*StepPlugin) Run

Run provides a mock function with given fields: _a0

func (*StepPlugin) Terminate

func (_m *StepPlugin) Terminate(_a0 *v1alpha1.Rollout) (*v1alpha1.StepPluginStatus, error)

Terminate provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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