usagerep

package
v3.8.0-0.dev+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultBaseURL = "https://usage.projectcalico.org/UsageCheck/calicoVersionCheck?"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type UsageReporter

type UsageReporter struct {
	InitialDelay time.Duration
	BaseURL      string
	// contains filtered or unexported fields
}

func New

func New(
	initialDelay time.Duration,
	interval time.Duration,
	statsUpdateC <-chan calc.StatsUpdate,
	configUpdateC <-chan map[string]string,
) *UsageReporter

func (*UsageReporter) PeriodicallyReportUsage

func (u *UsageReporter) PeriodicallyReportUsage(ctx context.Context)

Jump to

Keyboard shortcuts

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