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

Struct CommandEvent

pkg/telemetry/types.go:41–46  ·  view source on GitHub ↗

COMMAND EVENTS CommandEvent represents command execution events

Source from the content-addressed store, hash-verified

39
40// CommandEvent represents command execution events
41type CommandEvent struct {
42 Action string `json:"action"`
43 Args []string `json:"args,omitempty"`
44 Success bool `json:"success"`
45 Error string `json:"error,omitempty"`
46}
47
48// CommandPayload represents the HTTP payload structure for command events
49type CommandPayload struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected