GetSessionLogsCalls gets all the calls that were made to GetSessionLogs. Check the length with: len(mockedCapiClient.GetSessionLogsCalls())
()
| 353 | // |
| 354 | // len(mockedCapiClient.GetSessionLogsCalls()) |
| 355 | func (mock *CapiClientMock) GetSessionLogsCalls() []struct { |
| 356 | Ctx context.Context |
| 357 | ID string |
| 358 | } { |
| 359 | var calls []struct { |
| 360 | Ctx context.Context |
| 361 | ID string |
| 362 | } |
| 363 | mock.lockGetSessionLogs.RLock() |
| 364 | calls = mock.calls.GetSessionLogs |
| 365 | mock.lockGetSessionLogs.RUnlock() |
| 366 | return calls |
| 367 | } |
| 368 | |
| 369 | // ListLatestSessionsForViewer calls ListLatestSessionsForViewerFunc. |
| 370 | func (mock *CapiClientMock) ListLatestSessionsForViewer(ctx context.Context, limit int) ([]*Session, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected