Documentation ¶
Index ¶
- type MockExpectAction
- type MockExpectAction_Expecter
- type MockExpectAction_OutputExpectation_Call
- func (_c *MockExpectAction_OutputExpectation_Call) Return(_a0 *expectations.OutputExpectation) *MockExpectAction_OutputExpectation_Call
- func (_c *MockExpectAction_OutputExpectation_Call) Run(run func()) *MockExpectAction_OutputExpectation_Call
- func (_c *MockExpectAction_OutputExpectation_Call) RunAndReturn(run func() *expectations.OutputExpectation) *MockExpectAction_OutputExpectation_Call
- type MockExpectAction_Parameters_Call
- func (_c *MockExpectAction_Parameters_Call) Return(_a0 parameters.Parameters) *MockExpectAction_Parameters_Call
- func (_c *MockExpectAction_Parameters_Call) Run(run func()) *MockExpectAction_Parameters_Call
- func (_c *MockExpectAction_Parameters_Call) RunAndReturn(run func() parameters.Parameters) *MockExpectAction_Parameters_Call
- type MockExpectAction_ResponseExpectation_Call
- func (_c *MockExpectAction_ResponseExpectation_Call) Return(_a0 *expectations.ResponseExpectation) *MockExpectAction_ResponseExpectation_Call
- func (_c *MockExpectAction_ResponseExpectation_Call) Run(run func()) *MockExpectAction_ResponseExpectation_Call
- func (_c *MockExpectAction_ResponseExpectation_Call) RunAndReturn(run func() *expectations.ResponseExpectation) *MockExpectAction_ResponseExpectation_Call
- type MockMaker
- type MockMaker_Expecter
- type MockMaker_Make_Call
- func (_c *MockMaker_Make_Call) Return(_a0 *actions.Actions, _a1 error) *MockMaker_Make_Call
- func (_c *MockMaker_Make_Call) Run(run func(configActions *types.ServerActions)) *MockMaker_Make_Call
- func (_c *MockMaker_Make_Call) RunAndReturn(run func(*types.ServerActions) (*actions.Actions, error)) *MockMaker_Make_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockExpectAction ¶
MockExpectAction is an autogenerated mock type for the ExpectAction type
func NewMockExpectAction ¶
func NewMockExpectAction(t interface { mock.TestingT Cleanup(func()) }) *MockExpectAction
NewMockExpectAction creates a new instance of MockExpectAction. 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 (*MockExpectAction) EXPECT ¶
func (_m *MockExpectAction) EXPECT() *MockExpectAction_Expecter
func (*MockExpectAction) OutputExpectation ¶
func (_m *MockExpectAction) OutputExpectation() *expectations.OutputExpectation
OutputExpectation provides a mock function with given fields:
func (*MockExpectAction) Parameters ¶
func (_m *MockExpectAction) Parameters() parameters.Parameters
Parameters provides a mock function with given fields:
func (*MockExpectAction) ResponseExpectation ¶
func (_m *MockExpectAction) ResponseExpectation() *expectations.ResponseExpectation
ResponseExpectation provides a mock function with given fields:
type MockExpectAction_Expecter ¶
type MockExpectAction_Expecter struct {
// contains filtered or unexported fields
}
func (*MockExpectAction_Expecter) OutputExpectation ¶
func (_e *MockExpectAction_Expecter) OutputExpectation() *MockExpectAction_OutputExpectation_Call
OutputExpectation is a helper method to define mock.On call
func (*MockExpectAction_Expecter) Parameters ¶
func (_e *MockExpectAction_Expecter) Parameters() *MockExpectAction_Parameters_Call
Parameters is a helper method to define mock.On call
func (*MockExpectAction_Expecter) ResponseExpectation ¶
func (_e *MockExpectAction_Expecter) ResponseExpectation() *MockExpectAction_ResponseExpectation_Call
ResponseExpectation is a helper method to define mock.On call
type MockExpectAction_OutputExpectation_Call ¶
MockExpectAction_OutputExpectation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OutputExpectation'
func (*MockExpectAction_OutputExpectation_Call) Return ¶
func (_c *MockExpectAction_OutputExpectation_Call) Return(_a0 *expectations.OutputExpectation) *MockExpectAction_OutputExpectation_Call
func (*MockExpectAction_OutputExpectation_Call) Run ¶
func (_c *MockExpectAction_OutputExpectation_Call) Run(run func()) *MockExpectAction_OutputExpectation_Call
func (*MockExpectAction_OutputExpectation_Call) RunAndReturn ¶
func (_c *MockExpectAction_OutputExpectation_Call) RunAndReturn(run func() *expectations.OutputExpectation) *MockExpectAction_OutputExpectation_Call
type MockExpectAction_Parameters_Call ¶
MockExpectAction_Parameters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Parameters'
func (*MockExpectAction_Parameters_Call) Return ¶
func (_c *MockExpectAction_Parameters_Call) Return(_a0 parameters.Parameters) *MockExpectAction_Parameters_Call
func (*MockExpectAction_Parameters_Call) Run ¶
func (_c *MockExpectAction_Parameters_Call) Run(run func()) *MockExpectAction_Parameters_Call
func (*MockExpectAction_Parameters_Call) RunAndReturn ¶
func (_c *MockExpectAction_Parameters_Call) RunAndReturn(run func() parameters.Parameters) *MockExpectAction_Parameters_Call
type MockExpectAction_ResponseExpectation_Call ¶
MockExpectAction_ResponseExpectation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResponseExpectation'
func (*MockExpectAction_ResponseExpectation_Call) Run ¶
func (_c *MockExpectAction_ResponseExpectation_Call) Run(run func()) *MockExpectAction_ResponseExpectation_Call
func (*MockExpectAction_ResponseExpectation_Call) RunAndReturn ¶
func (_c *MockExpectAction_ResponseExpectation_Call) RunAndReturn(run func() *expectations.ResponseExpectation) *MockExpectAction_ResponseExpectation_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(configActions interface{}) *MockMaker_Make_Call
Make is a helper method to define mock.On call
- configActions *types.ServerActions
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 *actions.Actions, _a1 error) *MockMaker_Make_Call
func (*MockMaker_Make_Call) Run ¶
func (_c *MockMaker_Make_Call) Run(run func(configActions *types.ServerActions)) *MockMaker_Make_Call
func (*MockMaker_Make_Call) RunAndReturn ¶
func (_c *MockMaker_Make_Call) RunAndReturn(run func(*types.ServerActions) (*actions.Actions, error)) *MockMaker_Make_Call