MCPcopy
hub / github.com/cilium/cilium / getJSON

Method getJSON

pkg/monitor/datapath_debug.go:425–428  ·  view source on GitHub ↗
(cpuPrefix string, linkMonitor getters.LinkGetter)

Source from the content-addressed store, hash-verified

423}
424
425func (n *DebugMsg) getJSON(cpuPrefix string, linkMonitor getters.LinkGetter) string {
426 return fmt.Sprintf(`{"cpu":%q,"type":"debug","message":%q}`,
427 cpuPrefix, n.Message(linkMonitor))
428}
429
430const (
431 // DebugCaptureLen is the amount of packet data in a packet capture message

Callers 1

DumpMethod · 0.95

Calls 1

MessageMethod · 0.95

Tested by

no test coverage detected