Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/prometheus/common
/ Fetch
Method
Fetch
config/http_config.go:772–772 ·
view source on GitHub ↗
(ctx context.Context)
Source
from the content-addressed store, hash-verified
770
771
type
SecretReader
interface
{
772
Fetch(ctx context.Context) (string, error)
773
Description() string
774
Immutable() bool
775
}
Callers
13
TestBasicAuthNoPassword
Function · 0.65
TestBasicAuthNoUsername
Function · 0.65
TestBasicAuthPasswordFile
Function · 0.65
TestBasicAuthSecretManager
Function · 0.65
TestBasicAuthSecretManagerNotFound
Function · 0.65
TestBasicUsernameFile
Function · 0.65
Fetch
Method · 0.65
RoundTrip
Method · 0.65
RoundTrip
Method · 0.65
RoundTrip
Method · 0.65
NewTLSConfigWithContext
Function · 0.65
getClientCertificate
Method · 0.65
Implementers
3
InlineSecret
config/http_config.go
FileSecret
config/http_config.go
refSecret
config/http_config.go
Calls
no outgoing calls
Tested by
6
TestBasicAuthNoPassword
Function · 0.52
TestBasicAuthNoUsername
Function · 0.52
TestBasicAuthPasswordFile
Function · 0.52
TestBasicAuthSecretManager
Function · 0.52
TestBasicAuthSecretManagerNotFound
Function · 0.52
TestBasicUsernameFile
Function · 0.52