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

Function NewDefaultClientFactory

clients/client_factory.go:27–29  ·  view source on GitHub ↗

NewDefaultClientFactory a default initialization method for the factory

()

Source from the content-addressed store, hash-verified

25
26// NewDefaultClientFactory a default initialization method for the factory
27func NewDefaultClientFactory() *DefaultClientFactory {
28 return &DefaultClientFactory{mtaClient: nil, restClient: nil}
29}
30
31// NewMtaClient used for creating or returning cached value of the mta rest client
32func (d *DefaultClientFactory) NewMtaClient(host, spaceID string, rt http.RoundTripper, tokenFactory baseclient.TokenFactory) mtaclient.MtaClientOperations {

Callers 1

InitializeMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected