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

Struct authorizationCredentialsRoundTripper

config/http_config.go:590–594  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

588}
589
590type authorizationCredentialsRoundTripper struct {
591 authType string
592 authCredentials Secret
593 rt http.RoundTripper
594}
595
596// NewAuthorizationCredentialsRoundTripper adds the provided credentials to a
597// request unless the authorization header has already been set.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected