package configtest
import "golang.org/x/telemetry/internal/configtest"
Package configtest provides a helper for testing using a local proxy containing a fake upload config.
Index ¶
Functions ¶
func LocalProxyEnv ¶
LocalProxyEnv writes a proxy directory for the given upload config, and returns a go environment to use for fetching that config from a local file-based proxy.
This environment should be passed to configstore.Download.
Source Files ¶
configtest.go
- Version
- v0.0.0-20250221144447-d58820209c11 (latest)
- Published
- Feb 21, 2025
- Platform
- linux/amd64
- Imports
- 8 packages
- Last checked
- 1 month ago –
Tools for package owners.