Documentation
¶
Overview ¶
Package telemetrytest provides test doubles for the telemetry package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RecordedEvent ¶
RecordedEvent is one event captured by a RecordingClient.
type RecordingClient ¶
type RecordingClient struct {
Events []RecordedEvent
Identifies int
// contains filtered or unexported fields
}
RecordingClient is a telemetry.TelemetryClient that records the tracked events so tests can assert on their names, properties and order.
func (*RecordingClient) Close ¶
func (r *RecordingClient) Close()
Click to show internal directories.
Click to hide internal directories.