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

Interface SecretManagerOption

config/http_config.go:586–589  ·  view source on GitHub ↗

SecretManagerOption is an option for providing a SecretManager.

Source from the content-addressed store, hash-verified

584
585// SecretManagerOption is an option for providing a SecretManager.
586type SecretManagerOption interface {
587 TLSConfigOption
588 HTTPClientOption
589}
590
591// WithSecretManager allows setting the secret manager.
592func WithSecretManager(manager SecretManager) SecretManagerOption {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected