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

Method GetCodespaceCalls

pkg/cmd/codespace/mock_api.go:479–493  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

477//
478// len(mockedapiClient.GetCodespaceCalls())
479func (mock *apiClientMock) GetCodespaceCalls() []struct {
480 Ctx context.Context
481 Name string
482 IncludeConnection bool
483} {
484 var calls []struct {
485 Ctx context.Context
486 Name string
487 IncludeConnection bool
488 }
489 mock.lockGetCodespace.RLock()
490 calls = mock.calls.GetCodespace
491 mock.lockGetCodespace.RUnlock()
492 return calls
493}
494
495// GetCodespaceBillableOwner calls GetCodespaceBillableOwnerFunc.
496func (mock *apiClientMock) GetCodespaceBillableOwner(ctx context.Context, nwo string) (*codespacesAPI.User, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected