Documentation ¶
Index ¶
- type LifecycleBuilder
- func (_m *LifecycleBuilder) GetHistory() *lifecycle.History
- func (_m *LifecycleBuilder) GetLatestState() (lifecycle.HistoryNode, error)
- func (_m *LifecycleBuilder) Loop(ctx context.Context)
- func (_m *LifecycleBuilder) Start(payload interface{}) lifecycle.LifecycleBuilder
- func (_m *LifecycleBuilder) StartWith(s state.State, event string, payload interface{}) lifecycle.LifecycleBuilder
- func (_m *LifecycleBuilder) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LifecycleBuilder ¶
LifecycleBuilder is an autogenerated mock type for the LifecycleBuilder type
func (*LifecycleBuilder) GetHistory ¶
func (_m *LifecycleBuilder) GetHistory() *lifecycle.History
GetHistory provides a mock function with given fields:
func (*LifecycleBuilder) GetLatestState ¶
func (_m *LifecycleBuilder) GetLatestState() (lifecycle.HistoryNode, error)
GetLatestState provides a mock function with given fields:
func (*LifecycleBuilder) Loop ¶
func (_m *LifecycleBuilder) Loop(ctx context.Context)
Loop provides a mock function with given fields: ctx
func (*LifecycleBuilder) Start ¶
func (_m *LifecycleBuilder) Start(payload interface{}) lifecycle.LifecycleBuilder
Start provides a mock function with given fields: payload
func (*LifecycleBuilder) StartWith ¶
func (_m *LifecycleBuilder) StartWith(s state.State, event string, payload interface{}) lifecycle.LifecycleBuilder
StartWith provides a mock function with given fields: s, event, payload
func (*LifecycleBuilder) Stop ¶
func (_m *LifecycleBuilder) Stop()
Stop provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.