Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/prometheus/common
/ SecretReader
Interface
SecretReader
config/http_config.go:771–775 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
769
}
770
771
type
SecretReader
interface
{
772
Fetch(ctx context.Context) (string, error)
773
Description() string
774
Immutable() bool
775
}
776
777
type
InlineSecret
struct
{
778
text string
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
NewTLSConfigWithContext
Function · 0.65
getClientCertificate
Method · 0.65
RoundTrip
Method · 0.65
RoundTrip
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
no test coverage detected