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

Function SubSessionCompleted

pkg/runtime/event.go:884–891  ·  view source on GitHub ↗
(parentSessionID string, subSession any, agentName string)

Source from the content-addressed store, hash-verified

882}
883
884func SubSessionCompleted(parentSessionID string, subSession any, agentName string) Event {
885 return &SubSessionCompletedEvent{
886 Type: "sub_session_completed",
887 ParentSessionID: parentSessionID,
888 SubSession: subSession,
889 AgentContext: newAgentContext(agentName),
890 }
891}
892
893// ConnectionLostEvent is emitted when the connection to the remote server is lost
894type ConnectionLostEvent struct {

Callers 1

runForwardingMethod · 0.85

Calls 1

newAgentContextFunction · 0.85

Tested by

no test coverage detected