MCPcopy
hub / github.com/cli/cli / GetSessionLogs

Method GetSessionLogs

pkg/cmd/agent-task/capi/client.go:18–18  ·  view source on GitHub ↗
(ctx context.Context, id string)

Source from the content-addressed store, hash-verified

16 GetJob(ctx context.Context, owner, repo, jobID string) (*Job, error)
17 GetSession(ctx context.Context, id string) (*Session, error)
18 GetSessionLogs(ctx context.Context, id string) ([]byte, error)
19 ListSessionsByResourceID(ctx context.Context, resourceType string, resourceID int64, limit int) ([]*Session, error)
20 GetPullRequestDatabaseID(ctx context.Context, hostname string, owner string, repo string, number int) (int64, string, error)
21}

Callers 2

printLogsFunction · 0.65
followLogsFunction · 0.65

Implementers 2

CAPIClientpkg/cmd/agent-task/capi/client.go
CapiClientMockpkg/cmd/agent-task/capi/client_mock.go

Calls

no outgoing calls

Tested by

no test coverage detected