Documentation ¶
Index ¶
- type UnifierMock
- type UnifierMock_ContinueOnError_Call
- type UnifierMock_Execute_Call
- func (_c *UnifierMock_Execute_Call) Return(_a0 error) *UnifierMock_Execute_Call
- func (_c *UnifierMock_Execute_Call) Run(run func(ctx heimdall.Context, sub *subject.Subject)) *UnifierMock_Execute_Call
- func (_c *UnifierMock_Execute_Call) RunAndReturn(run func(heimdall.Context, *subject.Subject) error) *UnifierMock_Execute_Call
- type UnifierMock_Expecter
- type UnifierMock_WithConfig_Call
- func (_c *UnifierMock_WithConfig_Call) Return(_a0 unifiers.Unifier, _a1 error) *UnifierMock_WithConfig_Call
- func (_c *UnifierMock_WithConfig_Call) Run(run func(config map[string]interface{})) *UnifierMock_WithConfig_Call
- func (_c *UnifierMock_WithConfig_Call) RunAndReturn(run func(map[string]interface{}) (unifiers.Unifier, error)) *UnifierMock_WithConfig_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UnifierMock ¶
UnifierMock is an autogenerated mock type for the Unifier type
func NewUnifierMock ¶
func NewUnifierMock(t mockConstructorTestingTNewUnifierMock) *UnifierMock
NewUnifierMock creates a new instance of UnifierMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*UnifierMock) ContinueOnError ¶
func (_m *UnifierMock) ContinueOnError() bool
ContinueOnError provides a mock function with given fields:
func (*UnifierMock) EXPECT ¶
func (_m *UnifierMock) EXPECT() *UnifierMock_Expecter
func (*UnifierMock) WithConfig ¶
func (_m *UnifierMock) WithConfig(config map[string]interface{}) (unifiers.Unifier, error)
WithConfig provides a mock function with given fields: config
type UnifierMock_ContinueOnError_Call ¶
UnifierMock_ContinueOnError_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContinueOnError'
func (*UnifierMock_ContinueOnError_Call) Return ¶
func (_c *UnifierMock_ContinueOnError_Call) Return(_a0 bool) *UnifierMock_ContinueOnError_Call
func (*UnifierMock_ContinueOnError_Call) Run ¶
func (_c *UnifierMock_ContinueOnError_Call) Run(run func()) *UnifierMock_ContinueOnError_Call
func (*UnifierMock_ContinueOnError_Call) RunAndReturn ¶
func (_c *UnifierMock_ContinueOnError_Call) RunAndReturn(run func() bool) *UnifierMock_ContinueOnError_Call
type UnifierMock_Execute_Call ¶
UnifierMock_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*UnifierMock_Execute_Call) Return ¶
func (_c *UnifierMock_Execute_Call) Return(_a0 error) *UnifierMock_Execute_Call
func (*UnifierMock_Execute_Call) Run ¶
func (_c *UnifierMock_Execute_Call) Run(run func(ctx heimdall.Context, sub *subject.Subject)) *UnifierMock_Execute_Call
func (*UnifierMock_Execute_Call) RunAndReturn ¶
func (_c *UnifierMock_Execute_Call) RunAndReturn(run func(heimdall.Context, *subject.Subject) error) *UnifierMock_Execute_Call
type UnifierMock_Expecter ¶
type UnifierMock_Expecter struct {
// contains filtered or unexported fields
}
func (*UnifierMock_Expecter) ContinueOnError ¶
func (_e *UnifierMock_Expecter) ContinueOnError() *UnifierMock_ContinueOnError_Call
ContinueOnError is a helper method to define mock.On call
func (*UnifierMock_Expecter) Execute ¶
func (_e *UnifierMock_Expecter) Execute(ctx interface{}, sub interface{}) *UnifierMock_Execute_Call
Execute is a helper method to define mock.On call
- ctx heimdall.Context
- sub *subject.Subject
func (*UnifierMock_Expecter) WithConfig ¶
func (_e *UnifierMock_Expecter) WithConfig(config interface{}) *UnifierMock_WithConfig_Call
WithConfig is a helper method to define mock.On call
- config map[string]interface{}
type UnifierMock_WithConfig_Call ¶
UnifierMock_WithConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithConfig'
func (*UnifierMock_WithConfig_Call) Return ¶
func (_c *UnifierMock_WithConfig_Call) Return(_a0 unifiers.Unifier, _a1 error) *UnifierMock_WithConfig_Call
func (*UnifierMock_WithConfig_Call) Run ¶
func (_c *UnifierMock_WithConfig_Call) Run(run func(config map[string]interface{})) *UnifierMock_WithConfig_Call
func (*UnifierMock_WithConfig_Call) RunAndReturn ¶
func (_c *UnifierMock_WithConfig_Call) RunAndReturn(run func(map[string]interface{}) (unifiers.Unifier, error)) *UnifierMock_WithConfig_Call