MCPcopy Create free account
hub / github.com/cloudfoundry/credhub-cli / DummyAuth

Struct DummyAuth

credhub/credhub_suite_test.go:20–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20type DummyAuth struct {
21 Config auth.Config
22 Request *http.Request
23 Response *http.Response
24 Error error
25}
26
27func (d *DummyAuth) Do(req *http.Request) (*http.Response, error) {
28 d.Request = req

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected