Documentation
¶
Index ¶
- func DrawDiagram(arrows []Arrow, settings DrawSettings) ([]byte, []byte, int)
- func GetLogMessages(testId lib.TestId, runId lib.RunId, reactor string, at int) [][]byte
- func Heaps(testId lib.TestId, runId lib.RunId) []map[string][]byte
- func Max(x, y int) int
- func PrettyJson(input []byte) []byte
- func WriteRepeat(b *strings.Builder, s string, count int)
- type Arrow
- type CrashInformation
- type DrawSettings
- type HeapDiff
- type NetworkEvent
- type SequenceDiagrams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DrawDiagram ¶
func DrawDiagram(arrows []Arrow, settings DrawSettings) ([]byte, []byte, int)
func GetLogMessages ¶
func PrettyJson ¶
Types ¶
type CrashInformation ¶
func GetCrashes ¶
func GetCrashes(testId lib.TestId, runId lib.RunId) CrashInformation
type DrawSettings ¶
type DrawSettings struct {
MarkerSize int
MarkAt int
Crashes CrashInformation
}
type HeapDiff ¶
func GetInitHeap ¶
type NetworkEvent ¶
type NetworkEvent struct {
Message string
Args []byte
From string
SentAt int
To string
RecvAt int
Dropped bool
Simulated time.Time
}
func GetNetworkTrace ¶
func GetNetworkTrace(testId lib.TestId, runId lib.RunId) []NetworkEvent
type SequenceDiagrams ¶
type SequenceDiagrams struct {
// contains filtered or unexported fields
}
func NewSequenceDiagrams ¶
func NewSequenceDiagrams(testId lib.TestId, runId lib.RunId) *SequenceDiagrams
func (*SequenceDiagrams) Header ¶
func (s *SequenceDiagrams) Header() []byte
Click to show internal directories.
Click to hide internal directories.