usagerep

package
v3.2.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2018 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