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.13.0-alpha.2
Published
Mar 25, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
14 minutes ago

Tools for package owners.