package upload

import "cuelang.org/go/internal/golangorgx/telemetry/upload"

Index

Functions

func Run

func Run(c *Control)

Run generates and uploads reports, as allowed by the mode file. A nil Control is legal.

Types

type Control

type Control struct {
	// Logging provides a io.Writer for error messages during uploading
	// nil is legal and no log messages get generated
	Logging io.Writer
}

A Control allows the user to override various default reporting and uploading choices. Future versions may also allow the user to set the upload URL.

Source Files

upload.go

Version
v0.12.0 (latest)
Published
Jan 30, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
8 hours ago

Tools for package owners.