package
3.3.1+incompatible
Repository: https://github.com/project-koku/koku-metrics-operator.git
Documentation: pkg.go.dev

# Functions

GetClient Return client with certificate handling based on configuration.
GetMultiPartBodyAndHeaders Get multi-part body and headers for upload.
ProcessResponse Log response for request and return valid.
SetupRequest creates a new request, adds headers to request object for communication to console.redhat.com, and returns the request.
Upload Send data to console.redhat.com.

# Variables

Client is an http.Client.
DefaultTransport is a copy from the golang http package.

# Structs

AuthConfig provides the data for reconciling the CR with defaults.
AuthError represents a client error returned when authenticating client credentials.
ServiceAccountData provides the data for acquiring the service acount token.
ServiceAccountToken holds the structure of the token response.

# Interfaces

HTTPClient gives us a testable interface.