MCPcopy Index your code
hub / github.com/docker/docker-agent / GetSession

Method GetSession

pkg/session/store.go:91–91  ·  view source on GitHub ↗
(ctx context.Context, id string)

Source from the content-addressed store, hash-verified

89 // === Core session operations ===
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

Callers 15

handleBranchFromEditMethod · 0.65
initMethod · 0.65
handleLoadSessionMethod · 0.65
handleSwitchTabMethod · 0.65
restoreTabsMethod · 0.65
runDockerAgentFunction · 0.65
getSessionMethod · 0.65
GetSessionMethod · 0.65
GetSessionSnapshotMethod · 0.65

Implementers 3

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

Calls

no outgoing calls