Documentation
¶
Index ¶
- type TempPaths
- type TempPaths_Add_Call
- type TempPaths_Expecter
- type TempPaths_GetPathIfExists_Call
- func (_c *TempPaths_GetPathIfExists_Call) Return(s string) *TempPaths_GetPathIfExists_Call
- func (_c *TempPaths_GetPathIfExists_Call) Run(run func(key string)) *TempPaths_GetPathIfExists_Call
- func (_c *TempPaths_GetPathIfExists_Call) RunAndReturn(run func(key string) string) *TempPaths_GetPathIfExists_Call
- type TempPaths_GetPath_Call
- type TempPaths_GetPaths_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TempPaths ¶
TempPaths is an autogenerated mock type for the TempPaths type
func NewTempPaths ¶
NewTempPaths creates a new instance of TempPaths. 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 (*TempPaths) EXPECT ¶
func (_m *TempPaths) EXPECT() *TempPaths_Expecter
func (*TempPaths) GetPathIfExists ¶
GetPathIfExists provides a mock function for the type TempPaths
type TempPaths_Add_Call ¶
TempPaths_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*TempPaths_Add_Call) Return ¶
func (_c *TempPaths_Add_Call) Return() *TempPaths_Add_Call
func (*TempPaths_Add_Call) Run ¶
func (_c *TempPaths_Add_Call) Run(run func(key string, value string)) *TempPaths_Add_Call
func (*TempPaths_Add_Call) RunAndReturn ¶
func (_c *TempPaths_Add_Call) RunAndReturn(run func(key string, value string)) *TempPaths_Add_Call
type TempPaths_Expecter ¶
type TempPaths_Expecter struct {
// contains filtered or unexported fields
}
func (*TempPaths_Expecter) Add ¶
func (_e *TempPaths_Expecter) Add(key any, value any) *TempPaths_Add_Call
Add is a helper method to define mock.On call
- key string
- value string
func (*TempPaths_Expecter) GetPath ¶
func (_e *TempPaths_Expecter) GetPath(key any) *TempPaths_GetPath_Call
GetPath is a helper method to define mock.On call
- key string
func (*TempPaths_Expecter) GetPathIfExists ¶
func (_e *TempPaths_Expecter) GetPathIfExists(key any) *TempPaths_GetPathIfExists_Call
GetPathIfExists is a helper method to define mock.On call
- key string
func (*TempPaths_Expecter) GetPaths ¶
func (_e *TempPaths_Expecter) GetPaths() *TempPaths_GetPaths_Call
GetPaths is a helper method to define mock.On call
type TempPaths_GetPathIfExists_Call ¶
TempPaths_GetPathIfExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPathIfExists'
func (*TempPaths_GetPathIfExists_Call) Return ¶
func (_c *TempPaths_GetPathIfExists_Call) Return(s string) *TempPaths_GetPathIfExists_Call
func (*TempPaths_GetPathIfExists_Call) Run ¶
func (_c *TempPaths_GetPathIfExists_Call) Run(run func(key string)) *TempPaths_GetPathIfExists_Call
func (*TempPaths_GetPathIfExists_Call) RunAndReturn ¶
func (_c *TempPaths_GetPathIfExists_Call) RunAndReturn(run func(key string) string) *TempPaths_GetPathIfExists_Call
type TempPaths_GetPath_Call ¶
TempPaths_GetPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPath'
func (*TempPaths_GetPath_Call) Return ¶
func (_c *TempPaths_GetPath_Call) Return(s string, err error) *TempPaths_GetPath_Call
func (*TempPaths_GetPath_Call) Run ¶
func (_c *TempPaths_GetPath_Call) Run(run func(key string)) *TempPaths_GetPath_Call
func (*TempPaths_GetPath_Call) RunAndReturn ¶
func (_c *TempPaths_GetPath_Call) RunAndReturn(run func(key string) (string, error)) *TempPaths_GetPath_Call
type TempPaths_GetPaths_Call ¶
TempPaths_GetPaths_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPaths'
func (*TempPaths_GetPaths_Call) Return ¶
func (_c *TempPaths_GetPaths_Call) Return(stringToString map[string]string) *TempPaths_GetPaths_Call
func (*TempPaths_GetPaths_Call) Run ¶
func (_c *TempPaths_GetPaths_Call) Run(run func()) *TempPaths_GetPaths_Call
func (*TempPaths_GetPaths_Call) RunAndReturn ¶
func (_c *TempPaths_GetPaths_Call) RunAndReturn(run func() map[string]string) *TempPaths_GetPaths_Call