Documentation ¶
Index ¶
- type MockMaker
- func (_m *MockMaker) EXPECT() *MockMaker_Expecter
- func (_m *MockMaker) MakeMetricsExpectation(config *types.MetricsExpectation) (*expectations.MetricsExpectation, error)
- func (_m *MockMaker) MakeOutputExpectation(config *types.OutputExpectation) (*expectations.OutputExpectation, error)
- func (_m *MockMaker) MakeResponseExpectation(config *types.ResponseExpectation) (*expectations.ResponseExpectation, error)
- type MockMaker_Expecter
- func (_e *MockMaker_Expecter) MakeMetricsExpectation(config interface{}) *MockMaker_MakeMetricsExpectation_Call
- func (_e *MockMaker_Expecter) MakeOutputExpectation(config interface{}) *MockMaker_MakeOutputExpectation_Call
- func (_e *MockMaker_Expecter) MakeResponseExpectation(config interface{}) *MockMaker_MakeResponseExpectation_Call
- type MockMaker_MakeMetricsExpectation_Call
- func (_c *MockMaker_MakeMetricsExpectation_Call) Return(_a0 *expectations.MetricsExpectation, _a1 error) *MockMaker_MakeMetricsExpectation_Call
- func (_c *MockMaker_MakeMetricsExpectation_Call) Run(run func(config *types.MetricsExpectation)) *MockMaker_MakeMetricsExpectation_Call
- func (_c *MockMaker_MakeMetricsExpectation_Call) RunAndReturn(run func(*types.MetricsExpectation) (*expectations.MetricsExpectation, error)) *MockMaker_MakeMetricsExpectation_Call
- type MockMaker_MakeOutputExpectation_Call
- func (_c *MockMaker_MakeOutputExpectation_Call) Return(_a0 *expectations.OutputExpectation, _a1 error) *MockMaker_MakeOutputExpectation_Call
- func (_c *MockMaker_MakeOutputExpectation_Call) Run(run func(config *types.OutputExpectation)) *MockMaker_MakeOutputExpectation_Call
- func (_c *MockMaker_MakeOutputExpectation_Call) RunAndReturn(run func(*types.OutputExpectation) (*expectations.OutputExpectation, error)) *MockMaker_MakeOutputExpectation_Call
- type MockMaker_MakeResponseExpectation_Call
- func (_c *MockMaker_MakeResponseExpectation_Call) Return(_a0 *expectations.ResponseExpectation, _a1 error) *MockMaker_MakeResponseExpectation_Call
- func (_c *MockMaker_MakeResponseExpectation_Call) Run(run func(config *types.ResponseExpectation)) *MockMaker_MakeResponseExpectation_Call
- func (_c *MockMaker_MakeResponseExpectation_Call) RunAndReturn(...) *MockMaker_MakeResponseExpectation_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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
func (*MockMaker) MakeMetricsExpectation ¶
func (_m *MockMaker) MakeMetricsExpectation(config *types.MetricsExpectation) (*expectations.MetricsExpectation, error)
MakeMetricsExpectation provides a mock function with given fields: config
func (*MockMaker) MakeOutputExpectation ¶
func (_m *MockMaker) MakeOutputExpectation(config *types.OutputExpectation) (*expectations.OutputExpectation, error)
MakeOutputExpectation provides a mock function with given fields: config
func (*MockMaker) MakeResponseExpectation ¶
func (_m *MockMaker) MakeResponseExpectation(config *types.ResponseExpectation) (*expectations.ResponseExpectation, error)
MakeResponseExpectation provides a mock function with given fields: config
type MockMaker_Expecter ¶
type MockMaker_Expecter struct {
// contains filtered or unexported fields
}
func (*MockMaker_Expecter) MakeMetricsExpectation ¶
func (_e *MockMaker_Expecter) MakeMetricsExpectation(config interface{}) *MockMaker_MakeMetricsExpectation_Call
MakeMetricsExpectation is a helper method to define mock.On call
- config *types.MetricsExpectation
func (*MockMaker_Expecter) MakeOutputExpectation ¶
func (_e *MockMaker_Expecter) MakeOutputExpectation(config interface{}) *MockMaker_MakeOutputExpectation_Call
MakeOutputExpectation is a helper method to define mock.On call
- config *types.OutputExpectation
func (*MockMaker_Expecter) MakeResponseExpectation ¶
func (_e *MockMaker_Expecter) MakeResponseExpectation(config interface{}) *MockMaker_MakeResponseExpectation_Call
MakeResponseExpectation is a helper method to define mock.On call
- config *types.ResponseExpectation
type MockMaker_MakeMetricsExpectation_Call ¶
MockMaker_MakeMetricsExpectation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeMetricsExpectation'
func (*MockMaker_MakeMetricsExpectation_Call) Return ¶
func (_c *MockMaker_MakeMetricsExpectation_Call) Return(_a0 *expectations.MetricsExpectation, _a1 error) *MockMaker_MakeMetricsExpectation_Call
func (*MockMaker_MakeMetricsExpectation_Call) Run ¶
func (_c *MockMaker_MakeMetricsExpectation_Call) Run(run func(config *types.MetricsExpectation)) *MockMaker_MakeMetricsExpectation_Call
func (*MockMaker_MakeMetricsExpectation_Call) RunAndReturn ¶
func (_c *MockMaker_MakeMetricsExpectation_Call) RunAndReturn(run func(*types.MetricsExpectation) (*expectations.MetricsExpectation, error)) *MockMaker_MakeMetricsExpectation_Call
type MockMaker_MakeOutputExpectation_Call ¶
MockMaker_MakeOutputExpectation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeOutputExpectation'
func (*MockMaker_MakeOutputExpectation_Call) Return ¶
func (_c *MockMaker_MakeOutputExpectation_Call) Return(_a0 *expectations.OutputExpectation, _a1 error) *MockMaker_MakeOutputExpectation_Call
func (*MockMaker_MakeOutputExpectation_Call) Run ¶
func (_c *MockMaker_MakeOutputExpectation_Call) Run(run func(config *types.OutputExpectation)) *MockMaker_MakeOutputExpectation_Call
func (*MockMaker_MakeOutputExpectation_Call) RunAndReturn ¶
func (_c *MockMaker_MakeOutputExpectation_Call) RunAndReturn(run func(*types.OutputExpectation) (*expectations.OutputExpectation, error)) *MockMaker_MakeOutputExpectation_Call
type MockMaker_MakeResponseExpectation_Call ¶
MockMaker_MakeResponseExpectation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeResponseExpectation'
func (*MockMaker_MakeResponseExpectation_Call) Return ¶
func (_c *MockMaker_MakeResponseExpectation_Call) Return(_a0 *expectations.ResponseExpectation, _a1 error) *MockMaker_MakeResponseExpectation_Call
func (*MockMaker_MakeResponseExpectation_Call) Run ¶
func (_c *MockMaker_MakeResponseExpectation_Call) Run(run func(config *types.ResponseExpectation)) *MockMaker_MakeResponseExpectation_Call
func (*MockMaker_MakeResponseExpectation_Call) RunAndReturn ¶
func (_c *MockMaker_MakeResponseExpectation_Call) RunAndReturn(run func(*types.ResponseExpectation) (*expectations.ResponseExpectation, error)) *MockMaker_MakeResponseExpectation_Call