MCPcopy Create free account
hub / github.com/docker/docker-agent / GetSessions

Method GetSessions

pkg/session/store.go:92–92  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

90 AddSession(ctx context.Context, session *Session) error
91 GetSession(ctx context.Context, id string) (*Session, error)
92 GetSessions(ctx context.Context) ([]*Session, error)
93 GetSessionSummaries(ctx context.Context) ([]Summary, error)
94 DeleteSession(ctx context.Context, id string) error
95 UpdateSession(ctx context.Context, session *Session) error // Updates metadata only (not messages/items)

Callers 4

getSessionsMethod · 0.65
readyMethod · 0.65
ForkSessionMethod · 0.65
GetSessionsMethod · 0.65

Implementers 3

InMemorySessionStorepkg/session/store.go
SQLiteSessionStorepkg/session/store.go
RemoteSessionStorepkg/runtime/remote_runtime.go

Calls

no outgoing calls

Tested by

no test coverage detected