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

Function SessionCompaction

pkg/runtime/event.go:479–486  ·  view source on GitHub ↗
(sessionID, status, agentName string)

Source from the content-addressed store, hash-verified

477}
478
479func SessionCompaction(sessionID, status, agentName string) Event {
480 return &SessionCompactionEvent{
481 Type: "session_compaction",
482 SessionID: sessionID,
483 Status: status,
484 AgentContext: newAgentContext(agentName),
485 }
486}
487
488func (e *SessionCompactionEvent) GetSessionID() string { return e.SessionID }
489

Callers 2

CompactSessionMethod · 0.92
doCompactMethod · 0.85

Calls 1

newAgentContextFunction · 0.85

Tested by

no test coverage detected