Documentation
¶
Index ¶
- type LimePipesPlugin
- func (_m *LimePipesPlugin) EXPECT() *LimePipesPlugin_Expecter
- func (_m *LimePipesPlugin) Import(data []byte) (*messages.ImportFileResponse, error)
- func (_m *LimePipesPlugin) ImportLocalFile(filePath string) (*messages.ImportFileResponse, error)
- func (_m *LimePipesPlugin) PluginInfo() (*messages.PluginInfoResponse, error)
- type LimePipesPlugin_Expecter
- type LimePipesPlugin_ImportLocalFile_Call
- func (_c *LimePipesPlugin_ImportLocalFile_Call) Return(_a0 *messages.ImportFileResponse, _a1 error) *LimePipesPlugin_ImportLocalFile_Call
- func (_c *LimePipesPlugin_ImportLocalFile_Call) Run(run func(filePath string)) *LimePipesPlugin_ImportLocalFile_Call
- func (_c *LimePipesPlugin_ImportLocalFile_Call) RunAndReturn(run func(string) (*messages.ImportFileResponse, error)) *LimePipesPlugin_ImportLocalFile_Call
- type LimePipesPlugin_Import_Call
- func (_c *LimePipesPlugin_Import_Call) Return(_a0 *messages.ImportFileResponse, _a1 error) *LimePipesPlugin_Import_Call
- func (_c *LimePipesPlugin_Import_Call) Run(run func(data []byte)) *LimePipesPlugin_Import_Call
- func (_c *LimePipesPlugin_Import_Call) RunAndReturn(run func([]byte) (*messages.ImportFileResponse, error)) *LimePipesPlugin_Import_Call
- type LimePipesPlugin_PluginInfo_Call
- func (_c *LimePipesPlugin_PluginInfo_Call) Return(_a0 *messages.PluginInfoResponse, _a1 error) *LimePipesPlugin_PluginInfo_Call
- func (_c *LimePipesPlugin_PluginInfo_Call) Run(run func()) *LimePipesPlugin_PluginInfo_Call
- func (_c *LimePipesPlugin_PluginInfo_Call) RunAndReturn(run func() (*messages.PluginInfoResponse, error)) *LimePipesPlugin_PluginInfo_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LimePipesPlugin ¶
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 (_m *LimePipesPlugin) EXPECT() *LimePipesPlugin_Expecter
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 ¶
func (_e *LimePipesPlugin_Expecter) PluginInfo() *LimePipesPlugin_PluginInfo_Call
PluginInfo is a helper method to define mock.On call
type LimePipesPlugin_ImportLocalFile_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 (_c *LimePipesPlugin_ImportLocalFile_Call) Return(_a0 *messages.ImportFileResponse, _a1 error) *LimePipesPlugin_ImportLocalFile_Call
func (*LimePipesPlugin_ImportLocalFile_Call) Run ¶
func (_c *LimePipesPlugin_ImportLocalFile_Call) Run(run func(filePath string)) *LimePipesPlugin_ImportLocalFile_Call
func (*LimePipesPlugin_ImportLocalFile_Call) RunAndReturn ¶
func (_c *LimePipesPlugin_ImportLocalFile_Call) RunAndReturn(run func(string) (*messages.ImportFileResponse, error)) *LimePipesPlugin_ImportLocalFile_Call
type LimePipesPlugin_Import_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 (_c *LimePipesPlugin_Import_Call) Return(_a0 *messages.ImportFileResponse, _a1 error) *LimePipesPlugin_Import_Call
func (*LimePipesPlugin_Import_Call) Run ¶
func (_c *LimePipesPlugin_Import_Call) Run(run func(data []byte)) *LimePipesPlugin_Import_Call
func (*LimePipesPlugin_Import_Call) RunAndReturn ¶
func (_c *LimePipesPlugin_Import_Call) RunAndReturn(run func([]byte) (*messages.ImportFileResponse, error)) *LimePipesPlugin_Import_Call
type LimePipesPlugin_PluginInfo_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 (_c *LimePipesPlugin_PluginInfo_Call) Return(_a0 *messages.PluginInfoResponse, _a1 error) *LimePipesPlugin_PluginInfo_Call
func (*LimePipesPlugin_PluginInfo_Call) Run ¶
func (_c *LimePipesPlugin_PluginInfo_Call) Run(run func()) *LimePipesPlugin_PluginInfo_Call
func (*LimePipesPlugin_PluginInfo_Call) RunAndReturn ¶
func (_c *LimePipesPlugin_PluginInfo_Call) RunAndReturn(run func() (*messages.PluginInfoResponse, error)) *LimePipesPlugin_PluginInfo_Call