Documentation ¶
Index ¶
- Constants
- type TracerCollection
- func (tc *TracerCollection) AddTracer(id string, containerSelector containercollection.ContainerSelector) error
- func (tc *TracerCollection) Close()
- func (tc *TracerCollection) RemoveTracer(id string) error
- func (tc *TracerCollection) Stream(id string) (*stream.GadgetStream, error)
- func (tc *TracerCollection) TracerCount() int
- func (tc *TracerCollection) TracerDump() (out string)
- func (tc *TracerCollection) TracerExists(id string) bool
- func (tc *TracerCollection) TracerMapsUpdater() containercollection.FuncNotify
- func (tc *TracerCollection) TracerMountNsMap(id string) (*ebpf.Map, error)
Constants ¶
View Source
const ( MaxContainersPerNode = 1024 MountMapPrefix = "mntnsset_" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TracerCollection ¶
type TracerCollection struct {
// contains filtered or unexported fields
}
func NewTracerCollection ¶
func NewTracerCollection(cc *containercollection.ContainerCollection) (*TracerCollection, error)
func NewTracerCollectionTest ¶
func NewTracerCollectionTest(cc *containercollection.ContainerCollection) (*TracerCollection, error)
func (*TracerCollection) AddTracer ¶
func (tc *TracerCollection) AddTracer(id string, containerSelector containercollection.ContainerSelector) error
func (*TracerCollection) Close ¶
func (tc *TracerCollection) Close()
func (*TracerCollection) RemoveTracer ¶
func (tc *TracerCollection) RemoveTracer(id string) error
func (*TracerCollection) Stream ¶
func (tc *TracerCollection) Stream(id string) (*stream.GadgetStream, error)
func (*TracerCollection) TracerCount ¶
func (tc *TracerCollection) TracerCount() int
func (*TracerCollection) TracerDump ¶
func (tc *TracerCollection) TracerDump() (out string)
func (*TracerCollection) TracerExists ¶
func (tc *TracerCollection) TracerExists(id string) bool
func (*TracerCollection) TracerMapsUpdater ¶
func (tc *TracerCollection) TracerMapsUpdater() containercollection.FuncNotify
func (*TracerCollection) TracerMountNsMap ¶
func (tc *TracerCollection) TracerMountNsMap(id string) (*ebpf.Map, error)
Click to show internal directories.
Click to hide internal directories.