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

Interface TLSConfigOption

config/http_config.go:1257–1259  ·  view source on GitHub ↗

TLSConfigOption defines an option that can be applied to the HTTP client.

Source from the content-addressed store, hash-verified

1255
1256// TLSConfigOption defines an option that can be applied to the HTTP client.
1257type TLSConfigOption interface {
1258 applyToTLSConfigOptions(options *tlsConfigOptions)
1259}
1260
1261// NewTLSConfig creates a new tls.Config from the given TLSConfig.
1262func NewTLSConfig(cfg *TLSConfig, optFuncs ...TLSConfigOption) (*tls.Config, error) {

Callers 1

NewTLSConfigWithContextFunction · 0.65

Implementers 1

secretManagerOptionconfig/http_config.go

Calls

no outgoing calls

Tested by

no test coverage detected