Documentation
¶
Index ¶
- type GetGlobalConfigFunc
- type GetGlobalConfigFunc_Execute_Call
- func (_c *GetGlobalConfigFunc_Execute_Call) Return(_a0 core.GlobalConfig, _a1 error) *GetGlobalConfigFunc_Execute_Call
- func (_c *GetGlobalConfigFunc_Execute_Call) Run(run func(ignoreKeys []string)) *GetGlobalConfigFunc_Execute_Call
- func (_c *GetGlobalConfigFunc_Execute_Call) RunAndReturn(run func([]string) (core.GlobalConfig, error)) *GetGlobalConfigFunc_Execute_Call
- type GetGlobalConfigFunc_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetGlobalConfigFunc ¶
GetGlobalConfigFunc is an autogenerated mock type for the GetGlobalConfigFunc type
func NewGetGlobalConfigFunc ¶
func NewGetGlobalConfigFunc(t interface {
mock.TestingT
Cleanup(func())
}) *GetGlobalConfigFunc
NewGetGlobalConfigFunc creates a new instance of GetGlobalConfigFunc. 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 (*GetGlobalConfigFunc) EXPECT ¶
func (_m *GetGlobalConfigFunc) EXPECT() *GetGlobalConfigFunc_Expecter
func (*GetGlobalConfigFunc) Execute ¶
func (_m *GetGlobalConfigFunc) Execute(ignoreKeys []string) (core.GlobalConfig, error)
Execute provides a mock function with given fields: ignoreKeys
type GetGlobalConfigFunc_Execute_Call ¶
GetGlobalConfigFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*GetGlobalConfigFunc_Execute_Call) Return ¶
func (_c *GetGlobalConfigFunc_Execute_Call) Return(_a0 core.GlobalConfig, _a1 error) *GetGlobalConfigFunc_Execute_Call
func (*GetGlobalConfigFunc_Execute_Call) Run ¶
func (_c *GetGlobalConfigFunc_Execute_Call) Run(run func(ignoreKeys []string)) *GetGlobalConfigFunc_Execute_Call
func (*GetGlobalConfigFunc_Execute_Call) RunAndReturn ¶
func (_c *GetGlobalConfigFunc_Execute_Call) RunAndReturn(run func([]string) (core.GlobalConfig, error)) *GetGlobalConfigFunc_Execute_Call
type GetGlobalConfigFunc_Expecter ¶
type GetGlobalConfigFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*GetGlobalConfigFunc_Expecter) Execute ¶
func (_e *GetGlobalConfigFunc_Expecter) Execute(ignoreKeys interface{}) *GetGlobalConfigFunc_Execute_Call
Execute is a helper method to define mock.On call
- ignoreKeys []string
Click to show internal directories.
Click to hide internal directories.