code: func New(endpoints []string, ca, cert, key string) (*Client, error) {
  	client := Client{Endpoints: endpoints}
  
  	if ca != "" || cert != "" || key != "" {
  		tlsInfo := transport.TLSInfo{
  			CertFile:      cert,
  			KeyFile:       key,
  			TrustedCAFile: ca,
  		}
  		tlsConfig, err := tlsInfo.ClientConfig()
  		if err != nil {
  			return nil, err
  		}
  		client.TLS = tlsConfig
  	}
  
  	return &client, nil
  }
docs: // New creates a new EtcdCluster client