MCPcopy
hub / github.com/cloudfoundry/cli / TestClient

Function TestClient

api/cloudcontroller/ccv3/client.go:130–137  ·  view source on GitHub ↗

TestClient returns a new client explicitly meant for internal testing. This should not be used for production code.

(config Config, clock Clock, requester Requester)

Source from the content-addressed store, hash-verified

128// TestClient returns a new client explicitly meant for internal testing. This
129// should not be used for production code.
130func TestClient(config Config, clock Clock, requester Requester) *Client {
131 return &Client{
132 clock: clock,
133 jobPollingInterval: config.JobPollingInterval,
134 jobPollingTimeout: config.JobPollingTimeout,
135 Requester: requester,
136 }
137}

Callers 2

NewTestClientFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected