# Functions
Attach takes an iterator, an initial state and a probe, returning an iterator that will invoke the provided Probe on all internal iterator operations.
Condensed configures RunInternalIterCmd to output condensed results without values, collapsed onto a single line.
Error returns a Probe that returns the provided error.
If a conditional Probe.
MustParseProbes parses each DSL string as a separate probe, returning a slice of parsed probes.
NewParser constructs a Probe parser.
Nil returns a Probe that always returns nil.
Noop returns a Probe that does nothing.
ReturnKV returns a Probe that modifies an operation's return value to the provided KV pair.
RunInternalIterCmd evaluates a datadriven command controlling an internal iterator, returning a string with the results of the iterator operations.
RunInternalIterCmdWriter evaluates a datadriven command controlling an internal iterator, writing the results of the iterator operations to the provided Writer.
ShowCommands configures RunInternalIterCmd to show the command in each output line (so you don't have to visually match the line to the command).
Verbose configures RunInternalIterCmd to output verbose results.
WithSpan configures RunInternalIterCmd to print the span returned by spanFunc after each iteration operation.
WithStats configures RunInternalIterCmd to collect iterator stats in the struct pointed to by stats.
# Constants
OpClose indicates a Close internal iterator operation.
OpFirst indicates a First internal iterator operation.
OpLast indicates a Last internal iterator operation.
OpNext indicates a Next internal iterator operation.
OpNextPrefix indicates a NextPrefix internal iterator operation.
OpPrev indicates a Prev internal iterator operation.
OpSeekGE indicates a SeekGE internal iterator operation.
OpSeekLT indicates a SeekLT internal iterator operation.
OpSeekPrefixGE indicates a SeekPrefixGE internal iterator operation.
# Variables
ErrInjected is an error artificially injected for testing.
# Structs
ErrorProbe is a Probe that injects an error.
Op describes an individual iterator operation being performed.
ProbeContext provides the context within which a Probe is run.
ProbeState holds state additional to the context of the operation that's accessible to probes.
# Interfaces
Probe defines an interface for probes that may inspect or mutate internal iterator behavior.