Documentation
¶
Index ¶
- func NewBindCmd(runCmd func(*cobra.Command, []string) error, flags *BindFlags) *cobra.Command
- func NewCapabilitiesCmd(runCmd func(*cobra.Command, []string) error, flags *CapabilitiesFlags) *cobra.Command
- func NewCommonTraceCmd() *cobra.Command
- func NewDNSCmd(runCmd func(*cobra.Command, []string) error) *cobra.Command
- func NewExecCmd(runCmd func(*cobra.Command, []string) error) *cobra.Command
- func NewFsSlowerCmd(runCmd func(*cobra.Command, []string) error, flags *FsSlowerFlags) *cobra.Command
- func NewMountCmd(runCmd func(*cobra.Command, []string) error) *cobra.Command
- func NewNetworkCmd(runCmd func(*cobra.Command, []string) error) *cobra.Command
- func NewOOMKillCmd(runCmd func(*cobra.Command, []string) error) *cobra.Command
- func NewOpenCmd(runCmd func(*cobra.Command, []string) error) *cobra.Command
- func NewSNICmd(runCmd func(*cobra.Command, []string) error) *cobra.Command
- func NewSignalCmd(runCmd func(*cobra.Command, []string) error, flags *SignalFlags) *cobra.Command
- func NewTCPCmd(runCmd func(*cobra.Command, []string) error) *cobra.Command
- func NewTcpconnectCmd(runCmd func(*cobra.Command, []string) error) *cobra.Command
- type BindFlags
- type CapabilitiesFlags
- type FsSlowerFlags
- type SignalFlags
- type TraceEvent
- type TraceParser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBindCmd ¶
func NewCapabilitiesCmd ¶
func NewCommonTraceCmd ¶
func NewFsSlowerCmd ¶
func NewSignalCmd ¶
Types ¶
type CapabilitiesFlags ¶
type FsSlowerFlags ¶
type SignalFlags ¶
type TraceEvent ¶
type TraceEvent interface { any // The Go compiler does not support accessing a struct field x.f where x is // of type parameter type even if all types in the type parameter's type set // have a field f. We may remove this restriction in Go 1.19. See // https://tip.golang.org/doc/go1.18#generics. GetBaseEvent() *eventtypes.Event }
type TraceParser ¶
type TraceParser[Event any] interface { // Transform is called to transform an event to columns. TransformIntoColumns(event *Event) string // BuildColumnsHeader returns a header to be used when the user requests to // present the output in columns. BuildColumnsHeader() string }
TraceParser defines the interface that every trace-gadget parser has to implement.
Click to show internal directories.
Click to hide internal directories.