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

Method GetOrgMemberCodespaceCalls

pkg/cmd/codespace/mock_api.go:729–745  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

727//
728// len(mockedapiClient.GetOrgMemberCodespaceCalls())
729func (mock *apiClientMock) GetOrgMemberCodespaceCalls() []struct {
730 Ctx context.Context
731 OrgName string
732 UserName string
733 CodespaceName string
734} {
735 var calls []struct {
736 Ctx context.Context
737 OrgName string
738 UserName string
739 CodespaceName string
740 }
741 mock.lockGetOrgMemberCodespace.RLock()
742 calls = mock.calls.GetOrgMemberCodespace
743 mock.lockGetOrgMemberCodespace.RUnlock()
744 return calls
745}
746
747// GetRepository calls GetRepositoryFunc.
748func (mock *apiClientMock) GetRepository(ctx context.Context, nwo string) (*codespacesAPI.Repository, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected