Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶
Component is an autogenerated mock type for the Component type
func NewComponent ¶ added in v0.26.1
NewComponent creates a new instance of Component. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*Component) Done ¶
func (_m *Component) Done() <-chan struct{}
Done provides a mock function with given fields:
func (*Component) Ready ¶
func (_m *Component) Ready() <-chan struct{}
Ready provides a mock function with given fields:
func (*Component) Start ¶
func (_m *Component) Start(_a0 irrecoverable.SignalerContext)
Start provides a mock function with given fields: _a0
type ComponentFactory ¶ added in v0.26.1
ComponentFactory is an autogenerated mock type for the ComponentFactory type
func NewComponentFactory ¶ added in v0.26.1
func NewComponentFactory(t testing.TB) *ComponentFactory
NewComponentFactory creates a new instance of ComponentFactory. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
type ComponentManagerBuilder ¶
ComponentManagerBuilder is an autogenerated mock type for the ComponentManagerBuilder type
func NewComponentManagerBuilder ¶ added in v0.26.1
func NewComponentManagerBuilder(t testing.TB) *ComponentManagerBuilder
NewComponentManagerBuilder creates a new instance of ComponentManagerBuilder. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*ComponentManagerBuilder) AddWorker ¶
func (_m *ComponentManagerBuilder) AddWorker(_a0 component.ComponentWorker) component.ComponentManagerBuilder
AddWorker provides a mock function with given fields: _a0
func (*ComponentManagerBuilder) Build ¶
func (_m *ComponentManagerBuilder) Build() *component.ComponentManager
Build provides a mock function with given fields:
type ComponentWorker ¶ added in v0.26.1
ComponentWorker is an autogenerated mock type for the ComponentWorker type
func NewComponentWorker ¶ added in v0.26.1
func NewComponentWorker(t testing.TB) *ComponentWorker
NewComponentWorker creates a new instance of ComponentWorker. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*ComponentWorker) Execute ¶ added in v0.26.1
func (_m *ComponentWorker) Execute(ctx irrecoverable.SignalerContext, ready component.ReadyFunc)
Execute provides a mock function with given fields: ctx, ready
type ReadyFunc ¶ added in v0.26.1
ReadyFunc is an autogenerated mock type for the ReadyFunc type
func NewReadyFunc ¶ added in v0.26.1
NewReadyFunc creates a new instance of ReadyFunc. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.