Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONActionRecorder ¶
type JSONActionRecorder struct {
// contains filtered or unexported fields
}
func (*JSONActionRecorder) Add ¶
func (x *JSONActionRecorder) Add(log model.Action)
Add implements interfaces.AlertRecorder.
type JSONAlertRecorder ¶
type JSONAlertRecorder struct {
// contains filtered or unexported fields
}
func (*JSONAlertRecorder) NewActionRecorder ¶
func (x *JSONAlertRecorder) NewActionRecorder() interfaces.ActionRecorder
NewJSONActionRecorder implements interfaces.AlertRecorder.
type JSONLogger ¶
type JSONLogger struct {
// contains filtered or unexported fields
}
func NewJsonRecorder ¶
func NewJsonRecorder(w io.WriteCloser, s *model.Scenario) *JSONLogger
func (*JSONLogger) Flush ¶
func (x *JSONLogger) Flush() error
func (*JSONLogger) LogError ¶
func (x *JSONLogger) LogError(err error)
func (*JSONLogger) NewAlertRecorder ¶
func (x *JSONLogger) NewAlertRecorder(alert *model.Alert) interfaces.AlertRecorder
type Memory ¶
type Memory struct {
Log model.ScenarioLog
}
func (*Memory) NewAlertRecorder ¶
func (x *Memory) NewAlertRecorder(alert *model.Alert) interfaces.AlertRecorder
NewAlertRecorder implements interfaces.ScenarioRecorder.
type MemoryActionRecorder ¶
type MemoryActionRecorder struct {
// contains filtered or unexported fields
}
func (*MemoryActionRecorder) Add ¶
func (x *MemoryActionRecorder) Add(log model.Action)
LogRun implements interfaces.AlertRecorder.
type MemoryAlertRecorder ¶
type MemoryAlertRecorder struct {
// contains filtered or unexported fields
}
func (*MemoryAlertRecorder) NewActionRecorder ¶
func (x *MemoryAlertRecorder) NewActionRecorder() interfaces.ActionRecorder
Click to show internal directories.
Click to hide internal directories.