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