package
7.17.28
Repository: https://github.com/elastic/beats.git
Documentation: pkg.go.dev

# Functions

AvailableTCP4Port returns an unused TCP port for 127.0.0.1.
NewConsoleDriver initializes and returns a new console driver with output to given file.
NewConsoleDriverWithKiller initializes and returns a new console driver with output file Killer function will be called on fatal errors.

# Variables

NullDriver does nothing, ignores all output and doesn't die on errors.

# Structs

ConsoleDriver outputs test result to the given stdout/stderr descriptors.

# Interfaces

Driver for testing, manages test flow and controls output.
Testable is optionally implemented by clients that support self testing.