code: func (c *Config) transportConfig() *transport.Config {
  	return &transport.Config{
  		UserAgent:     c.UserAgent,
  		Transport:     c.Transport,
  		WrapTransport: c.WrapTransport,
  		TLS: transport.TLSConfig{
  			CAFile:   c.CAFile,
  			CAData:   c.CAData,
  			CertFile: c.CertFile,
  			CertData: c.CertData,
  			KeyFile:  c.KeyFile,
  			KeyData:  c.KeyData,
  			Insecure: c.Insecure,
  		},
  		Username:    c.Username,
  		Password:    c.Password,
  		BearerToken: c.BearerToken,
  	}
  }
docs: // transportConfig converts a client config to an appropriate transport config.