TargetCF sets the client to use the Cloud Controller specified in the configuration. Any other configuration is also applied to the client.
(settings TargetSettings)
| 27 | // TargetCF sets the client to use the Cloud Controller specified in the |
| 28 | // configuration. Any other configuration is also applied to the client. |
| 29 | func (client *Client) TargetCF(settings TargetSettings) { |
| 30 | client.CloudControllerURL = settings.URL |
| 31 | client.InitializeConnection(settings) |
| 32 | client.InitializeRouter(settings.URL) |
| 33 | } |