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)
func (*UsageReporter) ReportUsage ¶
func (u *UsageReporter) ReportUsage(clusterGUID, clusterType, calicoVersion string, stats calc.StatsUpdate)
Click to show internal directories.
Click to hide internal directories.