telemetry

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const PostHogToken = "_uzX-_WJoVmE_tsLvu0OFD2tpd0HGz72D5sU1zM2hbs"

Variables

This section is empty.

Functions

func NewClient

func NewClient(tCfg Config) (posthog.Client, error)

func TelemeterActive

func TelemeterActive(v *lt.LoadTest, tClient posthog.Client, tConfig Config, logger logr.Logger)

func TelemeterCompletion

func TelemeterCompletion(v *lt.LoadTest, tClient posthog.Client, tConfig Config, logger logr.Logger)

func TelemeterGenerateManifests

func TelemeterGenerateManifests(
	name, testScriptPath, env, outPath string,
	count int,
	tClient posthog.Client,
	tConfig Config,
	logger logr.Logger,
)

func TelemeterServicesScaffold added in v0.1.1

func TelemeterServicesScaffold(
	serviceNames []string,
	namespace, outPath string,
	tClient posthog.Client,
	tConfig Config,
	logger logr.Logger,
)

Types

type Config

type Config struct {
	Disable     bool
	Debug       bool
	AppName     string
	Version     string
	WorkerImage string
}

func NewConfig

func NewConfig(appName, version, workerImage string, logger logr.Logger) Config

func (Config) ToEnvVar

func (t Config) ToEnvVar() []core.EnvVar

Jump to

Keyboard shortcuts

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