# Functions
DirHash returns a hash of all files attributes and their content within a directory.
NewCallbackCloser returns a Closer that calls the provided function upon closing.
NewLogger returns a gokit compatible Logger which calls t.Log.
NewRoundTripCheckRequest creates a new instance of a type that implements http.RoundTripper, which before returning theResponse and theError, executes checkRequest against a http.Request.
NewTemporaryDirectory creates a new temporary directory for transient POSIX activities.
RandomUnprivilegedPort returns valid unprivileged random port number which can be used for testing.
Replacement for require.Equal using go-cmp adapted for Prometheus data structures, instead of DeepEqual.
As RequireEqual but allows extra cmp.Options.
TolerantVerifyLeak verifies go leaks but excludes the go routines that are launched as side effects of some of our dependencies.
# Constants
NilCloser is a no-op Closer.
# Structs
A MockContext provides a simple stub implementation of a Context.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author