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

Method NewMtaClient

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

Source from the content-addressed store, hash-verified

12// ClientFactory is a factory for creating XxxClientOperations instances
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}

Callers 6

executeInternalMethod · 0.65
executeInternalMethod · 0.65
executeInternalMethod · 0.65
executeInternalMethod · 0.65
executeInternalMethod · 0.65
NewMtaClientMethod · 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