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

Method NewRestClient

clients/client_factory.go:15–15  ·  view source on GitHub ↗
(host string, rt http.RoundTripper, tokenFactory baseclient.TokenFactory)

Source from the content-addressed store, hash-verified

13type ClientFactory interface {
14 NewMtaClient(host, spaceID string, rt http.RoundTripper, tokenFactory baseclient.TokenFactory) mtaclient.MtaClientOperations
15 NewRestClient(host string, rt http.RoundTripper, tokenFactory baseclient.TokenFactory) restclient.RestClientOperations
16 NewMtaV2Client(host, spaceGUID string, rt http.RoundTripper, tokenFactory baseclient.TokenFactory) mtaclient_v2.MtaV2ClientOperations
17}
18

Callers 2

executeInternalMethod · 0.65
NewRestClientMethod · 0.65

Implementers 3

TestClientFactorycommands/test_client_factory.go
BaseCommandcommands/base_command.go
DefaultClientFactoryclients/client_factory.go

Calls

no outgoing calls

Tested by

no test coverage detected