# Functions
ExtractError extracts error from a fleet-server response.
NewAuthWithConfig returns a fleet-server client that will:
- Send the API Key on every HTTP request.
NewFleetAuthRoundTripper wrap an existing http.RoundTripper and adds the API in the header.
NewFleetUserAgentRoundTripper returns a FleetUserAgentRoundTripper that actually wrap the existing UserAgentRoundTripper with a specific string.
NewWithConfig takes a fleet-server configuration and create a remote.client with the appropriate tripper.
# Variables
ErrInvalidAPIKey is returned when authentication fail to fleet.
# Structs
FleetAuthRoundTripper allow all calls to be authenticated using the api key.
FleetUserAgentRoundTripper adds the Fleet user agent.
# Interfaces
Sender is an sender interface describing client behavior.