MCPcopy Create free account
hub / github.com/devfile/devworkspace-operator / TestHttpClientsFactory

Struct TestHttpClientsFactory

controllers/workspace/http_test.go:43–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41)
42
43type TestHttpClientsFactory struct {
44 client *http.Client
45 healthCheckHttpClient *http.Client
46}
47
48func (t *TestHttpClientsFactory) GetHttpClient(_ context.Context, _ *controller.RoutingConfig) *http.Client {
49 return t.client

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected