MCPcopy Create free account
hub / github.com/prometheus/common / authorizationCredentialsRoundTripper

Struct authorizationCredentialsRoundTripper

config/http_config.go:860–864  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

858}
859
860type authorizationCredentialsRoundTripper struct {
861 authType string
862 authCredentials SecretReader
863 rt http.RoundTripper
864}
865
866// NewAuthorizationCredentialsRoundTripper adds the authorization credentials
867// read from the provided SecretReader to a request unless the authorization header

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected