trace

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSNIParser

func NewSNIParser(outputConfig *commonutils.OutputConfig) commontrace.TraceParser[types.Event]

func NewTraceCmd

func NewTraceCmd() *cobra.Command

Types

type SNIParser

type SNIParser struct {
	commonutils.BaseParser[types.Event]
}

func (*SNIParser) TransformIntoColumns

func (p *SNIParser) TransformIntoColumns(event *types.Event) string

type TraceGadget

type TraceGadget[Event commontrace.TraceEvent] struct {
	// contains filtered or unexported fields
}

TraceGadget represents a gadget belonging to the trace category.

func (*TraceGadget[Event]) Run

func (g *TraceGadget[Event]) Run() error

Run runs a TraceGadget and prints the output after parsing it using the TraceParser's methods.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL