package
7.1.0+incompatible
Repository: https://github.com/scalingo/go-utils.git
Documentation: pkg.go.dev

# Functions

ClientFromEnv generates a etcd client (API v3) from the environment Look at ConfigFromEnv to get details about the environment variables used.
ConfigFromEnv generates a etcd clientv3 config from the environment using the following variables: * ETCD_HOSTS: The different endpoints of etcd members * ETCD_TLS_CERT: Path to the TLS X.509 certificate * ETCD_TLS_KEY: Path to the private key authenticating the certificate * ETCD_CACERT: Path to the CA cert signing the etcd member certifcates.