NewRestClient creates a new MTA deployer REST client
(host string)
| 142 | |
| 143 | // NewRestClient creates a new MTA deployer REST client |
| 144 | func (c *BaseCommand) NewRestClient(host string) restclient.RestClientOperations { |
| 145 | return c.clientFactory.NewRestClient(host, c.transport, c.tokenFactory) |
| 146 | } |
| 147 | |
| 148 | // NewMtaClient creates a new MTA deployer REST client |
| 149 | func (c *BaseCommand) NewMtaClient(host string, cfTarget util.CloudFoundryTarget) mtaclient.MtaClientOperations { |
nothing calls this directly
no test coverage detected