packages

package
v1.16.6 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Setup

type Setup struct {
	mock.Mock
}

Setup is an autogenerated mock type for the Setup type

func NewSetup

func NewSetup(t interface {
	mock.TestingT
	Cleanup(func())
}) *Setup

NewSetup creates a new instance of Setup. 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 (*Setup) EXPECT

func (_m *Setup) EXPECT() *Setup_Expecter

func (*Setup) Execute

func (_m *Setup) Execute()

Execute provides a mock function with no fields

func (*Setup) Install

func (_m *Setup) Install(modifiers ...modify.Apply) packages.Setup

Install provides a mock function with given fields: modifiers

func (*Setup) Uninstall

func (_m *Setup) Uninstall(modifiers ...modify.Apply) packages.Setup

Uninstall provides a mock function with given fields: modifiers

type Setup_Execute_Call

type Setup_Execute_Call struct {
	*mock.Call
}

Setup_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'

func (*Setup_Execute_Call) Return

func (_c *Setup_Execute_Call) Return() *Setup_Execute_Call

func (*Setup_Execute_Call) Run

func (_c *Setup_Execute_Call) Run(run func()) *Setup_Execute_Call

func (*Setup_Execute_Call) RunAndReturn

func (_c *Setup_Execute_Call) RunAndReturn(run func()) *Setup_Execute_Call

type Setup_Expecter

type Setup_Expecter struct {
	// contains filtered or unexported fields
}

func (*Setup_Expecter) Execute

func (_e *Setup_Expecter) Execute() *Setup_Execute_Call

Execute is a helper method to define mock.On call

func (*Setup_Expecter) Install

func (_e *Setup_Expecter) Install(modifiers ...interface{}) *Setup_Install_Call

Install is a helper method to define mock.On call

  • modifiers ...modify.Apply

func (*Setup_Expecter) Uninstall

func (_e *Setup_Expecter) Uninstall(modifiers ...interface{}) *Setup_Uninstall_Call

Uninstall is a helper method to define mock.On call

  • modifiers ...modify.Apply

type Setup_Install_Call

type Setup_Install_Call struct {
	*mock.Call
}

Setup_Install_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Install'

func (*Setup_Install_Call) Return

func (*Setup_Install_Call) Run

func (_c *Setup_Install_Call) Run(run func(modifiers ...modify.Apply)) *Setup_Install_Call

func (*Setup_Install_Call) RunAndReturn

func (_c *Setup_Install_Call) RunAndReturn(run func(...modify.Apply) packages.Setup) *Setup_Install_Call

type Setup_Uninstall_Call

type Setup_Uninstall_Call struct {
	*mock.Call
}

Setup_Uninstall_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Uninstall'

func (*Setup_Uninstall_Call) Return

func (*Setup_Uninstall_Call) Run

func (_c *Setup_Uninstall_Call) Run(run func(modifiers ...modify.Apply)) *Setup_Uninstall_Call

func (*Setup_Uninstall_Call) RunAndReturn

func (_c *Setup_Uninstall_Call) RunAndReturn(run func(...modify.Apply) packages.Setup) *Setup_Uninstall_Call

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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