GetCodespacesMachinesCalls gets all the calls that were made to GetCodespacesMachines. Check the length with: len(mockedapiClient.GetCodespacesMachinesCalls())
()
| 637 | // |
| 638 | // len(mockedapiClient.GetCodespacesMachinesCalls()) |
| 639 | func (mock *apiClientMock) GetCodespacesMachinesCalls() []struct { |
| 640 | Ctx context.Context |
| 641 | RepoID int64 |
| 642 | Branch string |
| 643 | Location string |
| 644 | DevcontainerPath string |
| 645 | } { |
| 646 | var calls []struct { |
| 647 | Ctx context.Context |
| 648 | RepoID int64 |
| 649 | Branch string |
| 650 | Location string |
| 651 | DevcontainerPath string |
| 652 | } |
| 653 | mock.lockGetCodespacesMachines.RLock() |
| 654 | calls = mock.calls.GetCodespacesMachines |
| 655 | mock.lockGetCodespacesMachines.RUnlock() |
| 656 | return calls |
| 657 | } |
| 658 | |
| 659 | // GetCodespacesPermissionsCheck calls GetCodespacesPermissionsCheckFunc. |
| 660 | func (mock *apiClientMock) GetCodespacesPermissionsCheck(ctx context.Context, repoID int64, branch string, devcontainerPath string) (bool, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected