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

Method GetSessionLogsCalls

pkg/cmd/agent-task/capi/client_mock.go:355–367  ·  view source on GitHub ↗

GetSessionLogsCalls gets all the calls that were made to GetSessionLogs. Check the length with: len(mockedCapiClient.GetSessionLogsCalls())

()

Source from the content-addressed store, hash-verified

353//
354// len(mockedCapiClient.GetSessionLogsCalls())
355func (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.
370func (mock *CapiClientMock) ListLatestSessionsForViewer(ctx context.Context, limit int) ([]*Session, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected