DeleteCodespaceCalls gets all the calls that were made to DeleteCodespace. Check the length with: len(mockedapiClient.DeleteCodespaceCalls())
()
| 368 | // |
| 369 | // len(mockedapiClient.DeleteCodespaceCalls()) |
| 370 | func (mock *apiClientMock) DeleteCodespaceCalls() []struct { |
| 371 | Ctx context.Context |
| 372 | Name string |
| 373 | OrgName string |
| 374 | UserName string |
| 375 | } { |
| 376 | var calls []struct { |
| 377 | Ctx context.Context |
| 378 | Name string |
| 379 | OrgName string |
| 380 | UserName string |
| 381 | } |
| 382 | mock.lockDeleteCodespace.RLock() |
| 383 | calls = mock.calls.DeleteCodespace |
| 384 | mock.lockDeleteCodespace.RUnlock() |
| 385 | return calls |
| 386 | } |
| 387 | |
| 388 | // EditCodespace calls EditCodespaceFunc. |
| 389 | func (mock *apiClientMock) EditCodespace(ctx context.Context, codespaceName string, params *codespacesAPI.EditCodespaceParams) (*codespacesAPI.Codespace, error) { |