func newETCDClient() (coreDNSClient, error) {
	cfg, err := getETCDConfig()
	if err != nil {
		return nil, err
	}
	c, err := etcdcv3.New(*cfg)
	if err != nil {
		return nil, err
	}
	return etcdClient{c, context.Background()}, nil
}
func newETCDClient() (coreDNSClient, error) {
	cfg, err := getETCDConfig()
	if err != nil {
		return nil, err
	}
	c, err := etcdcv3.New(*cfg)
	if err != nil {
		return nil, err
	}
	return etcdClient{c, context.Background()}, nil
}
func newETCDClient ( ) ( coreDNSClient , error ) { cfg , err := getETCDConfig ( ) if err != nil { return nil , err } c , err := etcdcv3 . New ( * cfg ) if err != nil { return nil , err } return etcdClient { c , context . Background ( ) } , nil }
//newETCDClient is an etcd client constructor
newETCDClient is an etcd client constructor