Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommonTopFlags ¶
type EbpfParser ¶
type EbpfParser struct { commonutils.BaseParser[types.Stats] // contains filtered or unexported fields }
type TopGadget ¶ added in v0.11.0
TopGadget represents a gadget belonging to the top category.
func (*TopGadget[Stats]) PrintHeader ¶ added in v0.11.0
func (g *TopGadget[Stats]) PrintHeader()
func (*TopGadget[Stats]) PrintStats ¶ added in v0.11.0
func (g *TopGadget[Stats]) PrintStats()
func (*TopGadget[Stats]) StartPrintLoop ¶ added in v0.11.0
func (g *TopGadget[Stats]) StartPrintLoop()
type TopParser ¶ added in v0.11.0
type TopParser[Stats any] interface { // BuildColumnsHeader returns a header to be used when the user requests to // present the output in columns. BuildColumnsHeader() string TransformIntoColumns(*Stats) string }
TopParser defines the interface that every top-gadget parser has to implement.
Click to show internal directories.
Click to hide internal directories.