Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client sends product telemetry reports to Upgrade Server.
func NewClient ¶
NewClient creates a product telemetry client for the supplied Upgrade Server base URL.
func (*Client) Send ¶
func (c *Client) Send(ctx context.Context, request clienttypes.ProductTelemetryRequest) error
Send submits a product telemetry request. The request is encoded once so every retry sends the same installation ID, reported time, and metrics.
type Consent ¶
type Consent struct {
// contains filtered or unexported fields
}
Consent persists and resolves the installation-wide product telemetry consent state.
func (*Consent) ForceEnabled ¶
Click to show internal directories.
Click to hide internal directories.