MCPcopy Create free account
hub / github.com/cloudfoundry/multiapps-cli-plugin / NewRestClient

Method NewRestClient

commands/base_command.go:144–146  ·  view source on GitHub ↗

NewRestClient creates a new MTA deployer REST client

(host string)

Source from the content-addressed store, hash-verified

142
143// NewRestClient creates a new MTA deployer REST client
144func (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
149func (c *BaseCommand) NewMtaClient(host string, cfTarget util.CloudFoundryTarget) mtaclient.MtaClientOperations {

Callers

nothing calls this directly

Calls 1

NewRestClientMethod · 0.65

Tested by

no test coverage detected