cloudflared-mirror/vendor/github.com/onsi/ginkgo/internal/remote/output_interceptor.go

14 lines
304 B
Go

package remote
import "os"
/*
The OutputInterceptor is used by the ForwardingReporter to
intercept and capture all stdin and stderr output during a test run.
*/
type OutputInterceptor interface {
StartInterceptingOutput() error
StopInterceptingAndReturnOutput() (string, error)
StreamTo(*os.File)
}