Documentation ¶
Index ¶
- type MockMaker
- type MockMaker_Expecter
- type MockMaker_Make_Call
- type MockParameter
- func (_m *MockParameter) ArrayValue() []parameter.Parameter
- func (_m *MockParameter) BoolValue() bool
- func (_m *MockParameter) EXPECT() *MockParameter_Expecter
- func (_m *MockParameter) FloatValue() float64
- func (_m *MockParameter) IntValue() int
- func (_m *MockParameter) MapValue() map[string]parameter.Parameter
- func (_m *MockParameter) StringValue() string
- func (_m *MockParameter) Type() parameter.Type
- type MockParameter_ArrayValue_Call
- func (_c *MockParameter_ArrayValue_Call) Return(_a0 []parameter.Parameter) *MockParameter_ArrayValue_Call
- func (_c *MockParameter_ArrayValue_Call) Run(run func()) *MockParameter_ArrayValue_Call
- func (_c *MockParameter_ArrayValue_Call) RunAndReturn(run func() []parameter.Parameter) *MockParameter_ArrayValue_Call
- type MockParameter_BoolValue_Call
- type MockParameter_Expecter
- func (_e *MockParameter_Expecter) ArrayValue() *MockParameter_ArrayValue_Call
- func (_e *MockParameter_Expecter) BoolValue() *MockParameter_BoolValue_Call
- func (_e *MockParameter_Expecter) FloatValue() *MockParameter_FloatValue_Call
- func (_e *MockParameter_Expecter) IntValue() *MockParameter_IntValue_Call
- func (_e *MockParameter_Expecter) MapValue() *MockParameter_MapValue_Call
- func (_e *MockParameter_Expecter) StringValue() *MockParameter_StringValue_Call
- func (_e *MockParameter_Expecter) Type() *MockParameter_Type_Call
- type MockParameter_FloatValue_Call
- type MockParameter_IntValue_Call
- type MockParameter_MapValue_Call
- func (_c *MockParameter_MapValue_Call) Return(_a0 map[string]parameter.Parameter) *MockParameter_MapValue_Call
- func (_c *MockParameter_MapValue_Call) Run(run func()) *MockParameter_MapValue_Call
- func (_c *MockParameter_MapValue_Call) RunAndReturn(run func() map[string]parameter.Parameter) *MockParameter_MapValue_Call
- type MockParameter_StringValue_Call
- type MockParameter_Type_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
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 interface{}
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 parameter.Parameter, _a1 error) *MockMaker_Make_Call
func (*MockMaker_Make_Call) Run ¶
func (_c *MockMaker_Make_Call) Run(run func(config interface{})) *MockMaker_Make_Call
func (*MockMaker_Make_Call) RunAndReturn ¶
func (_c *MockMaker_Make_Call) RunAndReturn(run func(interface{}) (parameter.Parameter, error)) *MockMaker_Make_Call
type MockParameter ¶
MockParameter is an autogenerated mock type for the Parameter type
func NewMockParameter ¶
func NewMockParameter(t interface { mock.TestingT Cleanup(func()) }) *MockParameter
NewMockParameter creates a new instance of MockParameter. 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 (*MockParameter) ArrayValue ¶
func (_m *MockParameter) ArrayValue() []parameter.Parameter
ArrayValue provides a mock function with given fields:
func (*MockParameter) BoolValue ¶
func (_m *MockParameter) BoolValue() bool
BoolValue provides a mock function with given fields:
func (*MockParameter) EXPECT ¶
func (_m *MockParameter) EXPECT() *MockParameter_Expecter
func (*MockParameter) FloatValue ¶
func (_m *MockParameter) FloatValue() float64
FloatValue provides a mock function with given fields:
func (*MockParameter) IntValue ¶
func (_m *MockParameter) IntValue() int
IntValue provides a mock function with given fields:
func (*MockParameter) MapValue ¶
func (_m *MockParameter) MapValue() map[string]parameter.Parameter
MapValue provides a mock function with given fields:
func (*MockParameter) StringValue ¶
func (_m *MockParameter) StringValue() string
StringValue provides a mock function with given fields:
func (*MockParameter) Type ¶
func (_m *MockParameter) Type() parameter.Type
Type provides a mock function with given fields:
type MockParameter_ArrayValue_Call ¶
MockParameter_ArrayValue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArrayValue'
func (*MockParameter_ArrayValue_Call) Return ¶
func (_c *MockParameter_ArrayValue_Call) Return(_a0 []parameter.Parameter) *MockParameter_ArrayValue_Call
func (*MockParameter_ArrayValue_Call) Run ¶
func (_c *MockParameter_ArrayValue_Call) Run(run func()) *MockParameter_ArrayValue_Call
func (*MockParameter_ArrayValue_Call) RunAndReturn ¶
func (_c *MockParameter_ArrayValue_Call) RunAndReturn(run func() []parameter.Parameter) *MockParameter_ArrayValue_Call
type MockParameter_BoolValue_Call ¶
MockParameter_BoolValue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BoolValue'
func (*MockParameter_BoolValue_Call) Return ¶
func (_c *MockParameter_BoolValue_Call) Return(_a0 bool) *MockParameter_BoolValue_Call
func (*MockParameter_BoolValue_Call) Run ¶
func (_c *MockParameter_BoolValue_Call) Run(run func()) *MockParameter_BoolValue_Call
func (*MockParameter_BoolValue_Call) RunAndReturn ¶
func (_c *MockParameter_BoolValue_Call) RunAndReturn(run func() bool) *MockParameter_BoolValue_Call
type MockParameter_Expecter ¶
type MockParameter_Expecter struct {
// contains filtered or unexported fields
}
func (*MockParameter_Expecter) ArrayValue ¶
func (_e *MockParameter_Expecter) ArrayValue() *MockParameter_ArrayValue_Call
ArrayValue is a helper method to define mock.On call
func (*MockParameter_Expecter) BoolValue ¶
func (_e *MockParameter_Expecter) BoolValue() *MockParameter_BoolValue_Call
BoolValue is a helper method to define mock.On call
func (*MockParameter_Expecter) FloatValue ¶
func (_e *MockParameter_Expecter) FloatValue() *MockParameter_FloatValue_Call
FloatValue is a helper method to define mock.On call
func (*MockParameter_Expecter) IntValue ¶
func (_e *MockParameter_Expecter) IntValue() *MockParameter_IntValue_Call
IntValue is a helper method to define mock.On call
func (*MockParameter_Expecter) MapValue ¶
func (_e *MockParameter_Expecter) MapValue() *MockParameter_MapValue_Call
MapValue is a helper method to define mock.On call
func (*MockParameter_Expecter) StringValue ¶
func (_e *MockParameter_Expecter) StringValue() *MockParameter_StringValue_Call
StringValue is a helper method to define mock.On call
func (*MockParameter_Expecter) Type ¶
func (_e *MockParameter_Expecter) Type() *MockParameter_Type_Call
Type is a helper method to define mock.On call
type MockParameter_FloatValue_Call ¶
MockParameter_FloatValue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FloatValue'
func (*MockParameter_FloatValue_Call) Return ¶
func (_c *MockParameter_FloatValue_Call) Return(_a0 float64) *MockParameter_FloatValue_Call
func (*MockParameter_FloatValue_Call) Run ¶
func (_c *MockParameter_FloatValue_Call) Run(run func()) *MockParameter_FloatValue_Call
func (*MockParameter_FloatValue_Call) RunAndReturn ¶
func (_c *MockParameter_FloatValue_Call) RunAndReturn(run func() float64) *MockParameter_FloatValue_Call
type MockParameter_IntValue_Call ¶
MockParameter_IntValue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IntValue'
func (*MockParameter_IntValue_Call) Return ¶
func (_c *MockParameter_IntValue_Call) Return(_a0 int) *MockParameter_IntValue_Call
func (*MockParameter_IntValue_Call) Run ¶
func (_c *MockParameter_IntValue_Call) Run(run func()) *MockParameter_IntValue_Call
func (*MockParameter_IntValue_Call) RunAndReturn ¶
func (_c *MockParameter_IntValue_Call) RunAndReturn(run func() int) *MockParameter_IntValue_Call
type MockParameter_MapValue_Call ¶
MockParameter_MapValue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MapValue'
func (*MockParameter_MapValue_Call) Return ¶
func (_c *MockParameter_MapValue_Call) Return(_a0 map[string]parameter.Parameter) *MockParameter_MapValue_Call
func (*MockParameter_MapValue_Call) Run ¶
func (_c *MockParameter_MapValue_Call) Run(run func()) *MockParameter_MapValue_Call
func (*MockParameter_MapValue_Call) RunAndReturn ¶
func (_c *MockParameter_MapValue_Call) RunAndReturn(run func() map[string]parameter.Parameter) *MockParameter_MapValue_Call
type MockParameter_StringValue_Call ¶
MockParameter_StringValue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StringValue'
func (*MockParameter_StringValue_Call) Return ¶
func (_c *MockParameter_StringValue_Call) Return(_a0 string) *MockParameter_StringValue_Call
func (*MockParameter_StringValue_Call) Run ¶
func (_c *MockParameter_StringValue_Call) Run(run func()) *MockParameter_StringValue_Call
func (*MockParameter_StringValue_Call) RunAndReturn ¶
func (_c *MockParameter_StringValue_Call) RunAndReturn(run func() string) *MockParameter_StringValue_Call
type MockParameter_Type_Call ¶
MockParameter_Type_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Type'
func (*MockParameter_Type_Call) Return ¶
func (_c *MockParameter_Type_Call) Return(_a0 parameter.Type) *MockParameter_Type_Call
func (*MockParameter_Type_Call) Run ¶
func (_c *MockParameter_Type_Call) Run(run func()) *MockParameter_Type_Call
func (*MockParameter_Type_Call) RunAndReturn ¶
func (_c *MockParameter_Type_Call) RunAndReturn(run func() parameter.Type) *MockParameter_Type_Call