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

Method AddSession

pkg/session/store.go:90–90  ·  view source on GitHub ↗

=== Core session operations ===

(ctx context.Context, session *Session)

Source from the content-addressed store, hash-verified

88type Store interface {
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)

Implementers 3

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

Calls

no outgoing calls