mocks

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: MPL-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 Driver

type Driver struct {
	mock.Mock
}

Driver is an autogenerated mock type for the Driver type

func NewDriver added in v0.6.0

func NewDriver(t testing.TB) *Driver

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

func (*Driver) ApplyTask

func (_m *Driver) ApplyTask(ctx context.Context) error

ApplyTask provides a mock function with given fields: ctx

func (*Driver) DestroyTask added in v0.5.0

func (_m *Driver) DestroyTask(ctx context.Context)

DestroyTask provides a mock function with given fields: ctx

func (*Driver) InitTask

func (_m *Driver) InitTask(ctx context.Context) error

InitTask provides a mock function with given fields: ctx

func (*Driver) InspectTask

func (_m *Driver) InspectTask(ctx context.Context) (driver.InspectPlan, error)

InspectTask provides a mock function with given fields: ctx

func (*Driver) OverrideNotifier added in v0.5.0

func (_m *Driver) OverrideNotifier()

OverrideNotifier provides a mock function with given fields:

func (*Driver) RenderTemplate

func (_m *Driver) RenderTemplate(ctx context.Context) (bool, error)

RenderTemplate provides a mock function with given fields: ctx

func (*Driver) SetBufferPeriod

func (_m *Driver) SetBufferPeriod()

SetBufferPeriod provides a mock function with given fields:

func (*Driver) Task

func (_m *Driver) Task() *driver.Task

Task provides a mock function with given fields:

func (*Driver) TemplateIDs added in v0.5.0

func (_m *Driver) TemplateIDs() []string

TemplateIDs provides a mock function with given fields:

func (*Driver) UpdateTask

func (_m *Driver) UpdateTask(ctx context.Context, task driver.PatchTask) (driver.InspectPlan, error)

UpdateTask provides a mock function with given fields: ctx, task

func (*Driver) Version

func (_m *Driver) Version() string

Version provides a mock function with given fields:

Jump to

Keyboard shortcuts

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