MCPcopy Create free account
hub / github.com/cli/cli / ExternalHTTPClientCalls

Method ExternalHTTPClientCalls

pkg/cmd/codespace/mock_api.go:445–453  ·  view source on GitHub ↗

ExternalHTTPClientCalls gets all the calls that were made to ExternalHTTPClient. Check the length with: len(mockedapiClient.ExternalHTTPClientCalls())

()

Source from the content-addressed store, hash-verified

443//
444// len(mockedapiClient.ExternalHTTPClientCalls())
445func (mock *apiClientMock) ExternalHTTPClientCalls() []struct {
446} {
447 var calls []struct {
448 }
449 mock.lockExternalHTTPClient.RLock()
450 calls = mock.calls.ExternalHTTPClient
451 mock.lockExternalHTTPClient.RUnlock()
452 return calls
453}
454
455// GetCodespace calls GetCodespaceFunc.
456func (mock *apiClientMock) GetCodespace(ctx context.Context, name string, includeConnection bool) (*codespacesAPI.Codespace, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected