analytics

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package analytics handles reporting of anonymized usage statistics about what features of Tilt are in use. Analytics does not report identifiable information about user code.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalyticsReporter

type AnalyticsReporter struct {
	// contains filtered or unexported fields
}

func ProvideAnalyticsReporter

func ProvideAnalyticsReporter(
	a *analytics.TiltAnalytics,
	st store.RStore,
	kClient k8s.Client,
	env k8s.Env) *AnalyticsReporter

func (*AnalyticsReporter) OnChange

func (ar *AnalyticsReporter) OnChange(ctx context.Context, st store.RStore)

type AnalyticsUpdater

type AnalyticsUpdater struct {
	// contains filtered or unexported fields
}

func NewAnalyticsUpdater

func NewAnalyticsUpdater(ta *analytics.TiltAnalytics, cmdTags CmdTags) *AnalyticsUpdater

func (*AnalyticsUpdater) OnChange

func (sub *AnalyticsUpdater) OnChange(ctx context.Context, st store.RStore)

type CmdTags added in v0.14.0

type CmdTags map[string]string

func (CmdTags) AsMap added in v0.14.0

func (t CmdTags) AsMap() map[string]string

Jump to

Keyboard shortcuts

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