NewMtaClient creates a new MTA deployer REST client
(host string, cfTarget util.CloudFoundryTarget)
| 147 | |
| 148 | // NewMtaClient creates a new MTA deployer REST client |
| 149 | func (c *BaseCommand) NewMtaClient(host string, cfTarget util.CloudFoundryTarget) mtaclient.MtaClientOperations { |
| 150 | return c.clientFactory.NewMtaClient(host, cfTarget.Space.Guid, c.transport, c.tokenFactory) |
| 151 | } |
| 152 | |
| 153 | // NewMtaV2Client creates a new MTAV2 deployer REST client |
| 154 | func (c *BaseCommand) NewMtaV2Client(host string, cfTarget util.CloudFoundryTarget) mtaclient_v2.MtaV2ClientOperations { |
no test coverage detected