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