Documentation ¶
Index ¶
- type MockConfig
- type MockConfig_Expecter
- type MockConfig_FilePath_Call
- type MockConfig_Parameters_Call
- type MockMaker
- type MockMaker_Expecter
- type MockMaker_Make_Call
- func (_c *MockMaker_Make_Call) Return(_a0 configs.Configs, _a1 error) *MockMaker_Make_Call
- func (_c *MockMaker_Make_Call) Run(run func(config map[string]types.ServerConfig)) *MockMaker_Make_Call
- func (_c *MockMaker_Make_Call) RunAndReturn(run func(map[string]types.ServerConfig) (configs.Configs, error)) *MockMaker_Make_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConfig ¶
MockConfig is an autogenerated mock type for the Config type
func NewMockConfig ¶
func NewMockConfig(t interface { mock.TestingT Cleanup(func()) }) *MockConfig
NewMockConfig creates a new instance of MockConfig. 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 (*MockConfig) EXPECT ¶
func (_m *MockConfig) EXPECT() *MockConfig_Expecter
func (*MockConfig) FilePath ¶
func (_m *MockConfig) FilePath() string
FilePath provides a mock function with given fields:
func (*MockConfig) Parameters ¶
func (_m *MockConfig) Parameters() parameters.Parameters
Parameters provides a mock function with given fields:
type MockConfig_Expecter ¶
type MockConfig_Expecter struct {
// contains filtered or unexported fields
}
func (*MockConfig_Expecter) FilePath ¶
func (_e *MockConfig_Expecter) FilePath() *MockConfig_FilePath_Call
FilePath is a helper method to define mock.On call
func (*MockConfig_Expecter) Parameters ¶
func (_e *MockConfig_Expecter) Parameters() *MockConfig_Parameters_Call
Parameters is a helper method to define mock.On call
type MockConfig_FilePath_Call ¶
MockConfig_FilePath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FilePath'
func (*MockConfig_FilePath_Call) Return ¶
func (_c *MockConfig_FilePath_Call) Return(_a0 string) *MockConfig_FilePath_Call
func (*MockConfig_FilePath_Call) Run ¶
func (_c *MockConfig_FilePath_Call) Run(run func()) *MockConfig_FilePath_Call
func (*MockConfig_FilePath_Call) RunAndReturn ¶
func (_c *MockConfig_FilePath_Call) RunAndReturn(run func() string) *MockConfig_FilePath_Call
type MockConfig_Parameters_Call ¶
MockConfig_Parameters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Parameters'
func (*MockConfig_Parameters_Call) Return ¶
func (_c *MockConfig_Parameters_Call) Return(_a0 parameters.Parameters) *MockConfig_Parameters_Call
func (*MockConfig_Parameters_Call) Run ¶
func (_c *MockConfig_Parameters_Call) Run(run func()) *MockConfig_Parameters_Call
func (*MockConfig_Parameters_Call) RunAndReturn ¶
func (_c *MockConfig_Parameters_Call) RunAndReturn(run func() parameters.Parameters) *MockConfig_Parameters_Call
type MockMaker ¶
MockMaker is an autogenerated mock type for the Maker type
func NewMockMaker ¶
NewMockMaker creates a new instance of MockMaker. 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 (*MockMaker) EXPECT ¶
func (_m *MockMaker) EXPECT() *MockMaker_Expecter
type MockMaker_Expecter ¶
type MockMaker_Expecter struct {
// contains filtered or unexported fields
}
func (*MockMaker_Expecter) Make ¶
func (_e *MockMaker_Expecter) Make(config interface{}) *MockMaker_Make_Call
Make is a helper method to define mock.On call
- config map[string]types.ServerConfig
type MockMaker_Make_Call ¶
MockMaker_Make_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Make'
func (*MockMaker_Make_Call) Return ¶
func (_c *MockMaker_Make_Call) Return(_a0 configs.Configs, _a1 error) *MockMaker_Make_Call
func (*MockMaker_Make_Call) Run ¶
func (_c *MockMaker_Make_Call) Run(run func(config map[string]types.ServerConfig)) *MockMaker_Make_Call
func (*MockMaker_Make_Call) RunAndReturn ¶
func (_c *MockMaker_Make_Call) RunAndReturn(run func(map[string]types.ServerConfig) (configs.Configs, error)) *MockMaker_Make_Call