package upload
import "golang.org/x/telemetry/internal/upload"
Index ¶
Functions ¶
func Run ¶
Run generates and uploads reports, as allowed by the mode file.
Types ¶
type RunConfig ¶
type RunConfig struct { TelemetryDir string // if set, overrides the telemetry data directory UploadURL string // if set, overrides the telemetry upload endpoint LogWriter io.Writer // if set, used for detailed logging of the upload process Env []string // if set, appended to the config download environment StartTime time.Time // if set, overrides the upload start time }
RunConfig configures non-default behavior of a call to Run.
All fields are optional, for testing or observability.
Source Files ¶
date.go findwork.go reports.go run.go upload.go
- Version
- v0.0.0-20250214215356-6f9b61db478c (latest)
- Published
- Feb 14, 2025
- Platform
- linux/amd64
- Imports
- 21 packages
- Last checked
- 3 days ago –
Tools for package owners.