Documentation
¶
Overview ¶
Package boundedbuffer provides an io.Writer that retains at most a fixed number of bytes while reporting the original write lengths to its producer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Buffer ¶
type Buffer struct {
// contains filtered or unexported fields
}
Buffer captures bounded command diagnostics without applying backpressure.
func New ¶
func New(retention *boundedbufferv1.Retention) (*Buffer, error)
New constructs a Buffer from a validated retention policy.
Click to show internal directories.
Click to hide internal directories.