telemetry

package
v2.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithTelemetry

func WithTelemetry(cmdExecute func(args []string, ctx context.Context) error, cmd *cobra.Command, cfg *cliconfig.Config, pluginInfo PluginInfo) func(args []string) error

WithTelemetry wraps the plugin's main Execute function such that it will record basic telemetry events.

Types

type PluginInfo

type PluginInfo struct {
	Name    string
	Version string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL