Documentation
¶
Index ¶
- func Arches() []specs.Arch
- func SyscallNamesToLinuxSeccomp(syscallNames []string) *specs.LinuxSeccomp
- 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
- func (t *Tracer) AttachContainer(container *containercollection.Container) error
- func (t *Tracer) Close()
- func (t *Tracer) Delete(mntns uint64)
- func (t *Tracer) DetachContainer(container *containercollection.Container) error
- func (t *Tracer) Peek(mntns uint64) ([]string, error)
- func (t *Tracer) RunWithResult(gadgetCtx gadgets.GadgetContext) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Arches ¶ added in v0.12.0
func Arches() []specs.Arch
Function arches() under the Apache License, Version 2.0 by the containerd authors: * https://github.com/containerd/containerd/blob/66fec3bbbf91520a1433faa16e99e5a314a61902/contrib/seccomp/seccomp_default.go#L29
func SyscallNamesToLinuxSeccomp ¶ added in v0.12.0
func SyscallNamesToLinuxSeccomp(syscallNames []string) *specs.LinuxSeccomp
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
}
func (*Tracer) AttachContainer ¶ added in v0.14.0
func (t *Tracer) AttachContainer(container *containercollection.Container) error
func (*Tracer) Close ¶
func (t *Tracer) Close()
Close closes the tracer TODO: Unexport this function when the refactoring is done
func (*Tracer) DetachContainer ¶ added in v0.14.0
func (t *Tracer) DetachContainer(container *containercollection.Container) error
func (*Tracer) RunWithResult ¶ added in v0.15.0
func (t *Tracer) RunWithResult(gadgetCtx gadgets.GadgetContext) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.