MCPcopy 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
771type SecretReader interface {
772 Fetch(ctx context.Context) (string, error)
773 Description() string
774 Immutable() bool
775}
776
777type InlineSecret struct {
778 text string

Callers 13

TestBasicAuthNoPasswordFunction · 0.65
TestBasicAuthNoUsernameFunction · 0.65
TestBasicUsernameFileFunction · 0.65
FetchMethod · 0.65
RoundTripMethod · 0.65
NewTLSConfigWithContextFunction · 0.65
getClientCertificateMethod · 0.65
RoundTripMethod · 0.65
RoundTripMethod · 0.65

Implementers 3

InlineSecretconfig/http_config.go
FileSecretconfig/http_config.go
refSecretconfig/http_config.go

Calls

no outgoing calls

Tested by

no test coverage detected