CreateCodespaceCalls gets all the calls that were made to CreateCodespace. Check the length with: len(mockedapiClient.CreateCodespaceCalls())
()
| 328 | // |
| 329 | // len(mockedapiClient.CreateCodespaceCalls()) |
| 330 | func (mock *apiClientMock) CreateCodespaceCalls() []struct { |
| 331 | Ctx context.Context |
| 332 | Params *codespacesAPI.CreateCodespaceParams |
| 333 | } { |
| 334 | var calls []struct { |
| 335 | Ctx context.Context |
| 336 | Params *codespacesAPI.CreateCodespaceParams |
| 337 | } |
| 338 | mock.lockCreateCodespace.RLock() |
| 339 | calls = mock.calls.CreateCodespace |
| 340 | mock.lockCreateCodespace.RUnlock() |
| 341 | return calls |
| 342 | } |
| 343 | |
| 344 | // DeleteCodespace calls DeleteCodespaceFunc. |
| 345 | func (mock *apiClientMock) DeleteCodespace(ctx context.Context, name string, orgName string, userName string) error { |
nothing calls this directly
no outgoing calls
no test coverage detected