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

Callers 13

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

Implementers 3

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

Calls

no outgoing calls

Tested by 6

TestBasicAuthNoPasswordFunction · 0.52
TestBasicAuthNoUsernameFunction · 0.52
TestBasicUsernameFileFunction · 0.52