Documentation ¶
Index ¶
- Constants
- type Config
- type GadgetDesc
- func (g *GadgetDesc) Category() string
- func (g *GadgetDesc) Description() string
- func (g *GadgetDesc) EventPrototype() any
- func (g *GadgetDesc) Name() string
- func (g *GadgetDesc) NewInstance() (gadgets.Gadget, error)
- func (g *GadgetDesc) ParamDescs() params.ParamDescs
- func (g *GadgetDesc) Parser() parser.Parser
- func (g *GadgetDesc) Type() gadgets.GadgetType
- type Tracer
- type TracerWrap
- func (t *TracerWrap) EnrichByMntNs(event *eventtypes.CommonData, mountnsid uint64)
- func (t *TracerWrap) Run(gadgetCtx gadgets.GadgetContext) error
- func (t *TracerWrap) SetEventEnricher(enricher func(ev any) error)
- func (t *TracerWrap) SetEventHandler(handler any)
- func (t *TracerWrap) SetMountNsMap(mountNsMap *ebpf.Map)
Constants ¶
View Source
const ( ParamUserStack = "user-stack" ParamKernelStack = "kernel-stack" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GadgetDesc ¶ added in v0.14.0
type GadgetDesc struct{}
func (*GadgetDesc) Category ¶ added in v0.14.0
func (g *GadgetDesc) Category() string
func (*GadgetDesc) Description ¶ added in v0.14.0
func (g *GadgetDesc) Description() string
func (*GadgetDesc) EventPrototype ¶ added in v0.14.0
func (g *GadgetDesc) EventPrototype() any
func (*GadgetDesc) Name ¶ added in v0.14.0
func (g *GadgetDesc) Name() string
func (*GadgetDesc) NewInstance ¶ added in v0.14.0
func (g *GadgetDesc) NewInstance() (gadgets.Gadget, error)
func (*GadgetDesc) ParamDescs ¶ added in v0.14.0
func (g *GadgetDesc) ParamDescs() params.ParamDescs
func (*GadgetDesc) Parser ¶ added in v0.14.0
func (g *GadgetDesc) Parser() parser.Parser
func (*GadgetDesc) Type ¶ added in v0.14.0
func (g *GadgetDesc) Type() gadgets.GadgetType
type Tracer ¶
type Tracer struct {
// contains filtered or unexported fields
}
type TracerWrap ¶ added in v0.14.0
type TracerWrap struct { Tracer // contains filtered or unexported fields }
TracerWrap is required to implement interfaces
func (*TracerWrap) EnrichByMntNs ¶ added in v0.14.0
func (t *TracerWrap) EnrichByMntNs(event *eventtypes.CommonData, mountnsid uint64)
func (*TracerWrap) Run ¶ added in v0.15.0
func (t *TracerWrap) Run(gadgetCtx gadgets.GadgetContext) error
func (*TracerWrap) SetEventEnricher ¶ added in v0.14.0
func (t *TracerWrap) SetEventEnricher(enricher func(ev any) error)
func (*TracerWrap) SetEventHandler ¶ added in v0.14.0
func (t *TracerWrap) SetEventHandler(handler any)
func (*TracerWrap) SetMountNsMap ¶ added in v0.14.0
func (t *TracerWrap) SetMountNsMap(mountNsMap *ebpf.Map)
Click to show internal directories.
Click to hide internal directories.