Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ mockHttpClient
Struct
mockHttpClient
pkg/cmd/attestation/api/mock_httpClient_test.go:15–17 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
13
)
14
15
type
mockHttpClient
struct
{
16
mock.Mock
17
}
18
19
func
(m *mockHttpClient) Get(url string) (*http.Response, error) {
20
m.On(
"OnGetSuccess"
).Return()
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected