Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { // BaseURL is the telemetry server base URL. BaseURL string // Tags is a list of optional tags to include in all telemetry reports. Tags []string // HTTPClient is the optional HTTP client to use for telemetry reporting. HTTPClient *http.Client }
Configuration is the telemetry reporter configuration.
type Reporter ¶
type Reporter struct {
// contains filtered or unexported fields
}
Reporter is a telemetry reporter.
func NewReporter ¶
NewReporter creates a new telemetry reporter.
func (*Reporter) ReportEvent ¶
func (r *Reporter) ReportEvent(event *v1alpha1.TelemetryEvent)
ReportEvent reports a telemetry event.
Click to show internal directories.
Click to hide internal directories.