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

Method GetCodespaceBillableOwnerCalls

pkg/cmd/codespace/mock_api.go:517–529  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

515//
516// len(mockedapiClient.GetCodespaceBillableOwnerCalls())
517func (mock *apiClientMock) GetCodespaceBillableOwnerCalls() []struct {
518 Ctx context.Context
519 Nwo string
520} {
521 var calls []struct {
522 Ctx context.Context
523 Nwo string
524 }
525 mock.lockGetCodespaceBillableOwner.RLock()
526 calls = mock.calls.GetCodespaceBillableOwner
527 mock.lockGetCodespaceBillableOwner.RUnlock()
528 return calls
529}
530
531// GetCodespaceRepoSuggestions calls GetCodespaceRepoSuggestionsFunc.
532func (mock *apiClientMock) GetCodespaceRepoSuggestions(ctx context.Context, partialSearch string, params codespacesAPI.RepoSearchParameters) ([]string, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected