Documentation ¶
Index ¶
- type ErrorHandlerMock
- type ErrorHandlerMock_Execute_Call
- func (_c *ErrorHandlerMock_Execute_Call) Return(_a0 bool, _a1 error) *ErrorHandlerMock_Execute_Call
- func (_c *ErrorHandlerMock_Execute_Call) Run(run func(ctx heimdall.Context, err error)) *ErrorHandlerMock_Execute_Call
- func (_c *ErrorHandlerMock_Execute_Call) RunAndReturn(run func(heimdall.Context, error) (bool, error)) *ErrorHandlerMock_Execute_Call
- type ErrorHandlerMock_Expecter
- type ExecutionConditionMock
- type ExecutionConditionMock_CanExecute_Call
- func (_c *ExecutionConditionMock_CanExecute_Call) Return(_a0 bool, _a1 error) *ExecutionConditionMock_CanExecute_Call
- func (_c *ExecutionConditionMock_CanExecute_Call) Run(run func(ctx heimdall.Context, sub *subject.Subject)) *ExecutionConditionMock_CanExecute_Call
- func (_c *ExecutionConditionMock_CanExecute_Call) RunAndReturn(run func(heimdall.Context, *subject.Subject) (bool, error)) *ExecutionConditionMock_CanExecute_Call
- type ExecutionConditionMock_Expecter
- type SubjectCreatorMock
- type SubjectCreatorMock_Execute_Call
- func (_c *SubjectCreatorMock_Execute_Call) Return(_a0 *subject.Subject, _a1 error) *SubjectCreatorMock_Execute_Call
- func (_c *SubjectCreatorMock_Execute_Call) Run(run func(_a0 heimdall.Context)) *SubjectCreatorMock_Execute_Call
- func (_c *SubjectCreatorMock_Execute_Call) RunAndReturn(run func(heimdall.Context) (*subject.Subject, error)) *SubjectCreatorMock_Execute_Call
- type SubjectCreatorMock_Expecter
- type SubjectCreatorMock_IsFallbackOnErrorAllowed_Call
- func (_c *SubjectCreatorMock_IsFallbackOnErrorAllowed_Call) Return(_a0 bool) *SubjectCreatorMock_IsFallbackOnErrorAllowed_Call
- func (_c *SubjectCreatorMock_IsFallbackOnErrorAllowed_Call) Run(run func()) *SubjectCreatorMock_IsFallbackOnErrorAllowed_Call
- func (_c *SubjectCreatorMock_IsFallbackOnErrorAllowed_Call) RunAndReturn(run func() bool) *SubjectCreatorMock_IsFallbackOnErrorAllowed_Call
- type SubjectHandlerMock
- type SubjectHandlerMock_ContinueOnError_Call
- func (_c *SubjectHandlerMock_ContinueOnError_Call) Return(_a0 bool) *SubjectHandlerMock_ContinueOnError_Call
- func (_c *SubjectHandlerMock_ContinueOnError_Call) Run(run func()) *SubjectHandlerMock_ContinueOnError_Call
- func (_c *SubjectHandlerMock_ContinueOnError_Call) RunAndReturn(run func() bool) *SubjectHandlerMock_ContinueOnError_Call
- type SubjectHandlerMock_Execute_Call
- func (_c *SubjectHandlerMock_Execute_Call) Return(_a0 error) *SubjectHandlerMock_Execute_Call
- func (_c *SubjectHandlerMock_Execute_Call) Run(run func(_a0 heimdall.Context, _a1 *subject.Subject)) *SubjectHandlerMock_Execute_Call
- func (_c *SubjectHandlerMock_Execute_Call) RunAndReturn(run func(heimdall.Context, *subject.Subject) error) *SubjectHandlerMock_Execute_Call
- type SubjectHandlerMock_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorHandlerMock ¶
ErrorHandlerMock is an autogenerated mock type for the errorHandler type
func NewErrorHandlerMock ¶
func NewErrorHandlerMock(t mockConstructorTestingTNewErrorHandlerMock) *ErrorHandlerMock
NewErrorHandlerMock creates a new instance of ErrorHandlerMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ErrorHandlerMock) EXPECT ¶
func (_m *ErrorHandlerMock) EXPECT() *ErrorHandlerMock_Expecter
type ErrorHandlerMock_Execute_Call ¶
ErrorHandlerMock_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*ErrorHandlerMock_Execute_Call) Return ¶
func (_c *ErrorHandlerMock_Execute_Call) Return(_a0 bool, _a1 error) *ErrorHandlerMock_Execute_Call
func (*ErrorHandlerMock_Execute_Call) Run ¶
func (_c *ErrorHandlerMock_Execute_Call) Run(run func(ctx heimdall.Context, err error)) *ErrorHandlerMock_Execute_Call
func (*ErrorHandlerMock_Execute_Call) RunAndReturn ¶
func (_c *ErrorHandlerMock_Execute_Call) RunAndReturn(run func(heimdall.Context, error) (bool, error)) *ErrorHandlerMock_Execute_Call
type ErrorHandlerMock_Expecter ¶
type ErrorHandlerMock_Expecter struct {
// contains filtered or unexported fields
}
func (*ErrorHandlerMock_Expecter) Execute ¶
func (_e *ErrorHandlerMock_Expecter) Execute(ctx interface{}, err interface{}) *ErrorHandlerMock_Execute_Call
Execute is a helper method to define mock.On call
- ctx heimdall.Context
- err error
type ExecutionConditionMock ¶
ExecutionConditionMock is an autogenerated mock type for the executionCondition type
func NewExecutionConditionMock ¶
func NewExecutionConditionMock(t mockConstructorTestingTNewExecutionConditionMock) *ExecutionConditionMock
NewExecutionConditionMock creates a new instance of ExecutionConditionMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ExecutionConditionMock) CanExecute ¶
func (_m *ExecutionConditionMock) CanExecute(ctx heimdall.Context, sub *subject.Subject) (bool, error)
CanExecute provides a mock function with given fields: ctx, sub
func (*ExecutionConditionMock) EXPECT ¶
func (_m *ExecutionConditionMock) EXPECT() *ExecutionConditionMock_Expecter
type ExecutionConditionMock_CanExecute_Call ¶
ExecutionConditionMock_CanExecute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CanExecute'
func (*ExecutionConditionMock_CanExecute_Call) Return ¶
func (_c *ExecutionConditionMock_CanExecute_Call) Return(_a0 bool, _a1 error) *ExecutionConditionMock_CanExecute_Call
func (*ExecutionConditionMock_CanExecute_Call) Run ¶
func (_c *ExecutionConditionMock_CanExecute_Call) Run(run func(ctx heimdall.Context, sub *subject.Subject)) *ExecutionConditionMock_CanExecute_Call
func (*ExecutionConditionMock_CanExecute_Call) RunAndReturn ¶
func (_c *ExecutionConditionMock_CanExecute_Call) RunAndReturn(run func(heimdall.Context, *subject.Subject) (bool, error)) *ExecutionConditionMock_CanExecute_Call
type ExecutionConditionMock_Expecter ¶
type ExecutionConditionMock_Expecter struct {
// contains filtered or unexported fields
}
func (*ExecutionConditionMock_Expecter) CanExecute ¶
func (_e *ExecutionConditionMock_Expecter) CanExecute(ctx interface{}, sub interface{}) *ExecutionConditionMock_CanExecute_Call
CanExecute is a helper method to define mock.On call
- ctx heimdall.Context
- sub *subject.Subject
type SubjectCreatorMock ¶
SubjectCreatorMock is an autogenerated mock type for the subjectCreator type
func NewSubjectCreatorMock ¶
func NewSubjectCreatorMock(t mockConstructorTestingTNewSubjectCreatorMock) *SubjectCreatorMock
NewSubjectCreatorMock creates a new instance of SubjectCreatorMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*SubjectCreatorMock) EXPECT ¶
func (_m *SubjectCreatorMock) EXPECT() *SubjectCreatorMock_Expecter
func (*SubjectCreatorMock) IsFallbackOnErrorAllowed ¶
func (_m *SubjectCreatorMock) IsFallbackOnErrorAllowed() bool
IsFallbackOnErrorAllowed provides a mock function with given fields:
type SubjectCreatorMock_Execute_Call ¶
SubjectCreatorMock_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*SubjectCreatorMock_Execute_Call) Return ¶
func (_c *SubjectCreatorMock_Execute_Call) Return(_a0 *subject.Subject, _a1 error) *SubjectCreatorMock_Execute_Call
func (*SubjectCreatorMock_Execute_Call) Run ¶
func (_c *SubjectCreatorMock_Execute_Call) Run(run func(_a0 heimdall.Context)) *SubjectCreatorMock_Execute_Call
func (*SubjectCreatorMock_Execute_Call) RunAndReturn ¶
func (_c *SubjectCreatorMock_Execute_Call) RunAndReturn(run func(heimdall.Context) (*subject.Subject, error)) *SubjectCreatorMock_Execute_Call
type SubjectCreatorMock_Expecter ¶
type SubjectCreatorMock_Expecter struct {
// contains filtered or unexported fields
}
func (*SubjectCreatorMock_Expecter) Execute ¶
func (_e *SubjectCreatorMock_Expecter) Execute(_a0 interface{}) *SubjectCreatorMock_Execute_Call
Execute is a helper method to define mock.On call
- _a0 heimdall.Context
func (*SubjectCreatorMock_Expecter) IsFallbackOnErrorAllowed ¶
func (_e *SubjectCreatorMock_Expecter) IsFallbackOnErrorAllowed() *SubjectCreatorMock_IsFallbackOnErrorAllowed_Call
IsFallbackOnErrorAllowed is a helper method to define mock.On call
type SubjectCreatorMock_IsFallbackOnErrorAllowed_Call ¶
SubjectCreatorMock_IsFallbackOnErrorAllowed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsFallbackOnErrorAllowed'
func (*SubjectCreatorMock_IsFallbackOnErrorAllowed_Call) Return ¶
func (_c *SubjectCreatorMock_IsFallbackOnErrorAllowed_Call) Return(_a0 bool) *SubjectCreatorMock_IsFallbackOnErrorAllowed_Call
func (*SubjectCreatorMock_IsFallbackOnErrorAllowed_Call) Run ¶
func (_c *SubjectCreatorMock_IsFallbackOnErrorAllowed_Call) Run(run func()) *SubjectCreatorMock_IsFallbackOnErrorAllowed_Call
func (*SubjectCreatorMock_IsFallbackOnErrorAllowed_Call) RunAndReturn ¶
func (_c *SubjectCreatorMock_IsFallbackOnErrorAllowed_Call) RunAndReturn(run func() bool) *SubjectCreatorMock_IsFallbackOnErrorAllowed_Call
type SubjectHandlerMock ¶
SubjectHandlerMock is an autogenerated mock type for the subjectHandler type
func NewSubjectHandlerMock ¶
func NewSubjectHandlerMock(t mockConstructorTestingTNewSubjectHandlerMock) *SubjectHandlerMock
NewSubjectHandlerMock creates a new instance of SubjectHandlerMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*SubjectHandlerMock) ContinueOnError ¶
func (_m *SubjectHandlerMock) ContinueOnError() bool
ContinueOnError provides a mock function with given fields:
func (*SubjectHandlerMock) EXPECT ¶
func (_m *SubjectHandlerMock) EXPECT() *SubjectHandlerMock_Expecter
type SubjectHandlerMock_ContinueOnError_Call ¶
SubjectHandlerMock_ContinueOnError_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContinueOnError'
func (*SubjectHandlerMock_ContinueOnError_Call) Return ¶
func (_c *SubjectHandlerMock_ContinueOnError_Call) Return(_a0 bool) *SubjectHandlerMock_ContinueOnError_Call
func (*SubjectHandlerMock_ContinueOnError_Call) Run ¶
func (_c *SubjectHandlerMock_ContinueOnError_Call) Run(run func()) *SubjectHandlerMock_ContinueOnError_Call
func (*SubjectHandlerMock_ContinueOnError_Call) RunAndReturn ¶
func (_c *SubjectHandlerMock_ContinueOnError_Call) RunAndReturn(run func() bool) *SubjectHandlerMock_ContinueOnError_Call
type SubjectHandlerMock_Execute_Call ¶
SubjectHandlerMock_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*SubjectHandlerMock_Execute_Call) Return ¶
func (_c *SubjectHandlerMock_Execute_Call) Return(_a0 error) *SubjectHandlerMock_Execute_Call
func (*SubjectHandlerMock_Execute_Call) Run ¶
func (_c *SubjectHandlerMock_Execute_Call) Run(run func(_a0 heimdall.Context, _a1 *subject.Subject)) *SubjectHandlerMock_Execute_Call
func (*SubjectHandlerMock_Execute_Call) RunAndReturn ¶
func (_c *SubjectHandlerMock_Execute_Call) RunAndReturn(run func(heimdall.Context, *subject.Subject) error) *SubjectHandlerMock_Execute_Call
type SubjectHandlerMock_Expecter ¶
type SubjectHandlerMock_Expecter struct {
// contains filtered or unexported fields
}
func (*SubjectHandlerMock_Expecter) ContinueOnError ¶
func (_e *SubjectHandlerMock_Expecter) ContinueOnError() *SubjectHandlerMock_ContinueOnError_Call
ContinueOnError is a helper method to define mock.On call
func (*SubjectHandlerMock_Expecter) Execute ¶
func (_e *SubjectHandlerMock_Expecter) Execute(_a0 interface{}, _a1 interface{}) *SubjectHandlerMock_Execute_Call
Execute is a helper method to define mock.On call
- _a0 heimdall.Context
- _a1 *subject.Subject