Documentation
¶
Index ¶
- type Config
- type GadgetDesc
- func (g *GadgetDesc) Category() string
- func (g *GadgetDesc) CustomParser(info *types.GadgetInfo) (parser.Parser, error)
- func (g *GadgetDesc) Description() string
- func (g *GadgetDesc) EventPrototype() any
- func (g *GadgetDesc) Experimental() bool
- func (g *GadgetDesc) GetGadgetInfo(params *params.Params, args []string) (*types.GadgetInfo, error)
- func (g *GadgetDesc) JSONConverter(info *types.GadgetInfo, printer types.Printer) func(ev any)
- func (g *GadgetDesc) JSONPrettyConverter(info *types.GadgetInfo, printer types.Printer) func(ev 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
- func (g *GadgetDesc) YAMLConverter(info *types.GadgetInfo, printer types.Printer) func(ev any)
- type Tracer
- func (t *Tracer) AttachContainer(container *containercollection.Container) error
- func (t *Tracer) Close()
- func (t *Tracer) DetachContainer(container *containercollection.Container) error
- func (t *Tracer) Init(gadgetCtx gadgets.GadgetContext) error
- func (t *Tracer) Run(gadgetCtx gadgets.GadgetContext) error
- func (t *Tracer) SetEventHandler(handler any)
- func (t *Tracer) SetEventHandlerArray(handler any)
- func (t *Tracer) SetMountNsMap(mountnsMap *ebpf.Map)
- func (t *Tracer) SetSocketEnricherMap(m *ebpf.Map)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GadgetDesc ¶
type GadgetDesc struct{}
func (*GadgetDesc) Category ¶
func (g *GadgetDesc) Category() string
func (*GadgetDesc) CustomParser ¶
func (g *GadgetDesc) CustomParser(info *types.GadgetInfo) (parser.Parser, error)
func (*GadgetDesc) Description ¶
func (g *GadgetDesc) Description() string
func (*GadgetDesc) EventPrototype ¶
func (g *GadgetDesc) EventPrototype() any
func (*GadgetDesc) Experimental ¶ added in v0.23.0
func (g *GadgetDesc) Experimental() bool
func (*GadgetDesc) GetGadgetInfo ¶ added in v0.22.0
func (g *GadgetDesc) GetGadgetInfo(params *params.Params, args []string) (*types.GadgetInfo, error)
func (*GadgetDesc) JSONConverter ¶
func (g *GadgetDesc) JSONConverter(info *types.GadgetInfo, printer types.Printer) func(ev any)
func (*GadgetDesc) JSONPrettyConverter ¶
func (g *GadgetDesc) JSONPrettyConverter(info *types.GadgetInfo, printer types.Printer) func(ev any)
func (*GadgetDesc) Name ¶
func (g *GadgetDesc) Name() string
func (*GadgetDesc) NewInstance ¶
func (g *GadgetDesc) NewInstance() (gadgets.Gadget, error)
func (*GadgetDesc) ParamDescs ¶
func (g *GadgetDesc) ParamDescs() params.ParamDescs
func (*GadgetDesc) Parser ¶
func (g *GadgetDesc) Parser() parser.Parser
func (*GadgetDesc) Type ¶
func (g *GadgetDesc) Type() gadgets.GadgetType
func (*GadgetDesc) YAMLConverter ¶
func (g *GadgetDesc) YAMLConverter(info *types.GadgetInfo, printer types.Printer) func(ev any)
type Tracer ¶
type Tracer struct {
// contains filtered or unexported fields
}
func (*Tracer) AttachContainer ¶ added in v0.21.0
func (t *Tracer) AttachContainer(container *containercollection.Container) error
func (*Tracer) DetachContainer ¶ added in v0.21.0
func (t *Tracer) DetachContainer(container *containercollection.Container) error
func (*Tracer) SetEventHandler ¶
func (*Tracer) SetEventHandlerArray ¶ added in v0.22.0
func (*Tracer) SetMountNsMap ¶
func (*Tracer) SetSocketEnricherMap ¶ added in v0.25.0
Click to show internal directories.
Click to hide internal directories.