Documentation ¶
Index ¶
- func CollectAndCompare(t *testing.T, c prometheus.Collector, want string, metricNames ...string)
- func MustLstat(t *testing.T, path string) os.FileInfo
- func MustMkdir(t *testing.T, path string) string
- func MustNotExist(t *testing.T, path string)
- func MustRemove(t *testing.T, path string)
- func MustSetenv(t *testing.T, key, value string)
- func MustTempFile(t *testing.T, fs afero.Fs) afero.File
- func MustUnsetenv(t *testing.T, key string)
- func MustWriteFile(t *testing.T, path string, content string) string
- func Raise(sig os.Signal) error
- func ReplaceClock(t *testing.T, clock *clockwork.Clock, override clockwork.Clock)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectAndCompare ¶ added in v0.0.3
func MustNotExist ¶
func MustRemove ¶
func MustSetenv ¶
func MustUnsetenv ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.