Config for a new etcd.Client.
| 21 | |
| 22 | // Config for a new etcd.Client. |
| 23 | type 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 |
nothing calls this directly
no outgoing calls
no test coverage detected