MCPcopy
hub / github.com/docker/docker-agent / SessionCompactionEvent

Struct SessionCompactionEvent

pkg/runtime/event.go:471–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

469func (e *SessionSummaryEvent) GetSessionID() string { return e.SessionID }
470
471type SessionCompactionEvent struct {
472 AgentContext
473
474 Type string `json:"type"`
475 SessionID string `json:"session_id"`
476 Status string `json:"status"`
477}
478
479func SessionCompaction(sessionID, status, agentName string) Event {
480 return &SessionCompactionEvent{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected