MCPcopy
hub / github.com/grafana/dskit / Config

Struct Config

kv/etcd/etcd.go:23–32  ·  view source on GitHub ↗

Config for a new etcd.Client.

Source from the content-addressed store, hash-verified

21
22// Config for a new etcd.Client.
23type Config struct {
24 Endpoints []string `yaml:"endpoints"`
25 DialTimeout time.Duration `yaml:"dial_timeout" category:"advanced"`
26 MaxRetries int `yaml:"max_retries" category:"advanced"`
27 EnableTLS bool `yaml:"tls_enabled" category:"advanced"`
28 TLS dstls.ClientConfig `yaml:",inline"`
29
30 UserName string `yaml:"username"`
31 Password flagext.Secret `yaml:"password"`
32}
33
34// Clientv3Facade is a subset of all Etcd client operations that are required
35// to implement an Etcd version of kv.Client

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected