Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StageRecorder ¶
type StageRecorder struct {
// contains filtered or unexported fields
}
StageRecorder records StageInfo events emitted by Hooks for inspection in tests.
func NewStageRecorder ¶
func NewStageRecorder() *StageRecorder
NewStageRecorder constructs a StageRecorder.
func (*StageRecorder) Hooks ¶
func (r *StageRecorder) Hooks() sazanami.Hooks
Hooks returns a Hooks struct that records stage lifecycle events.
func (*StageRecorder) Snapshot ¶
func (r *StageRecorder) Snapshot() []sazanami.StageInfo
Snapshot returns a copy of the recorded StageInfo sequence.
Click to show internal directories.
Click to hide internal directories.