package
5.0.0+incompatible
Repository: https://github.com/qwenode/tailscale.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
Package integration contains Tailscale integration tests.
Package iosdeps is a just a list of the packages we import on iOS, to let us test that our transitive closure of dependencies on iOS doesn't accidentally grow too large, as we've historically been memory constrained there.
Package jsdeps is a just a list of the packages we import in the JavaScript/WASM build, to let us test that our transitive closure of dependencies doesn't accidentally grow too large, since binary size is more of a concern.
Package natlab lets us simulate different types of networks all in-memory without running VMs or requiring root, etc.
# Functions
No description provided by the author
MinAllocsPerRun asserts that f can run with no more than target allocations.
NewLogLineTracker produces a LogLineTracker wrapping a given logf that tracks whether expectedFormatStrings were seen.
PanicOnLog modifies the standard library log package's default output to an io.Writer that panics, to root out code that's not plumbing their logging through explicit tailscale.com/logger.Logf paths.
No description provided by the author
No description provided by the author
WaitFor retries try for up to maxWait.
# Structs
Clock is a testing clock that advances every time its Now method is called, beginning at Start.
LogLineTracker is a logger that tracks which log format patterns it's seen and can report which expected ones were not seen later.
MemLogger is a bytes.Buffer with a Logf method for tests that want to log to a buffer.