Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultLineLimit = 2000
Variables ¶
This section is empty.
Functions ¶
func SanitizeBytes ¶
Types ¶
type Accumulator ¶
type Accumulator struct {
// contains filtered or unexported fields
}
func NewAccumulator ¶
func NewAccumulator(options AccumulatorOptions) *Accumulator
func (*Accumulator) Append ¶
func (a *Accumulator) Append(data []byte)
func (*Accumulator) Close ¶
func (a *Accumulator) Close()
func (*Accumulator) RawBufferedBytes ¶
func (a *Accumulator) RawBufferedBytes() int
func (*Accumulator) Snapshot ¶
func (a *Accumulator) Snapshot(persistIfTruncated bool) Snapshot
func (*Accumulator) TotalRawBytes ¶
func (a *Accumulator) TotalRawBytes() int
type AccumulatorOptions ¶
type Snapshot ¶
type Snapshot struct {
Content string
Truncation agentharness.TruncationResult
FullOutputPath string
LastLineBytes int
}
Click to show internal directories.
Click to hide internal directories.