telemetryconfig

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEndpoint = errors.New("invalid telemetry endpoint configuration")
	ErrHeaders  = errors.New("invalid telemetry headers configuration")
)

Functions

This section is empty.

Types

type Config

type Config struct {
	Endpoint string
	Headers  map[string]string
}

func Decode

func Decode(endpointB64, headersB64 string) (Config, error)

Decode validates release-injected telemetry configuration without ever including the secret input in returned errors.

Jump to

Keyboard shortcuts

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