MCPcopy
hub / github.com/cilium/cilium / JSONPB

Function JSONPB

hubble/pkg/printer/options.go:51–55  ·  view source on GitHub ↗

JSONPB encodes GetFlowsResponse as JSON according to proto3's JSON mapping.

()

Source from the content-addressed store, hash-verified

49
50// JSONPB encodes GetFlowsResponse as JSON according to proto3's JSON mapping.
51func JSONPB() Option {
52 return func(opts *Options) {
53 opts.output = JSONPBOutput
54 }
55}
56
57// Compact ...
58func Compact() Option {

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…