mocks

package
v1.0.0-alpha1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LimePipesPlugin

type LimePipesPlugin struct {
	mock.Mock
}

LimePipesPlugin is an autogenerated mock type for the LimePipesPlugin type

func NewLimePipesPlugin

func NewLimePipesPlugin(t interface {
	mock.TestingT
	Cleanup(func())
}) *LimePipesPlugin

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

func (*LimePipesPlugin) Import

func (_m *LimePipesPlugin) Import(data []byte) (*messages.ImportFileResponse, error)

Import provides a mock function with given fields: data

func (*LimePipesPlugin) ImportLocalFile

func (_m *LimePipesPlugin) ImportLocalFile(filePath string) (*messages.ImportFileResponse, error)

ImportLocalFile provides a mock function with given fields: filePath

func (*LimePipesPlugin) PluginInfo

func (_m *LimePipesPlugin) PluginInfo() (*messages.PluginInfoResponse, error)

PluginInfo provides a mock function with given fields:

type LimePipesPlugin_Expecter

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

func (*LimePipesPlugin_Expecter) Import

func (_e *LimePipesPlugin_Expecter) Import(data interface{}) *LimePipesPlugin_Import_Call

Import is a helper method to define mock.On call

  • data []byte

func (*LimePipesPlugin_Expecter) ImportLocalFile

func (_e *LimePipesPlugin_Expecter) ImportLocalFile(filePath interface{}) *LimePipesPlugin_ImportLocalFile_Call

ImportLocalFile is a helper method to define mock.On call

  • filePath string

func (*LimePipesPlugin_Expecter) PluginInfo

PluginInfo is a helper method to define mock.On call

type LimePipesPlugin_ImportLocalFile_Call

type LimePipesPlugin_ImportLocalFile_Call struct {
	*mock.Call
}

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

func (*LimePipesPlugin_ImportLocalFile_Call) Return

func (*LimePipesPlugin_ImportLocalFile_Call) Run

func (*LimePipesPlugin_ImportLocalFile_Call) RunAndReturn

type LimePipesPlugin_Import_Call

type LimePipesPlugin_Import_Call struct {
	*mock.Call
}

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

func (*LimePipesPlugin_Import_Call) Return

func (*LimePipesPlugin_Import_Call) Run

func (*LimePipesPlugin_Import_Call) RunAndReturn

type LimePipesPlugin_PluginInfo_Call

type LimePipesPlugin_PluginInfo_Call struct {
	*mock.Call
}

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

func (*LimePipesPlugin_PluginInfo_Call) Return

func (*LimePipesPlugin_PluginInfo_Call) Run

func (*LimePipesPlugin_PluginInfo_Call) RunAndReturn

Jump to

Keyboard shortcuts

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