Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientFromEnv ¶
func ClientFromEnv() (*etcdclient.Client, error)
ClientFromEnv generates a etcd client (API v3) from the environment Look at ConfigFromEnv to get details about the environment variables used
func ConfigFromEnv ¶
func ConfigFromEnv() (res etcdclient.Config, _ error)
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.