code: func (client *Client) TargetCF(settings TargetSettings) (Warnings, error) {
  	client.cloudControllerURL = settings.URL
  	client.router = rata.NewRequestGenerator(settings.URL, internal.APIRoutes)
  
  	client.connection = cloudcontroller.NewConnection(cloudcontroller.Config{
  		DialTimeout:       settings.DialTimeout,
  		SkipSSLValidation: settings.SkipSSLValidation,
  	})
  
  	for _, wrapper := range client.wrappers {
  		client.connection = wrapper.Wrap(client.connection)
  	}
  
  	info, warnings, err := client.Info()
  	if err != nil {
  		return warnings, err
  	}
  
  	client.authorizationEndpoint = info.AuthorizationEndpoint
  	client.cloudControllerAPIVersion = info.APIVersion
  	client.dopplerEndpoint = info.DopplerEndpoint
  	client.minCLIVersion = info.MinCLIVersion
  	client.routingEndpoint = info.RoutingEndpoint
  	client.tokenEndpoint = info.TokenEndpoint
  
  	return warnings, nil
  }
docs: // TargetCF sets the client to use the Cloud Controller specified in the
  // configuration. Any other configuration is also applied to the client.