Versions in this module Expand all Collapse all v0 v0.0.1 Aug 14, 2023 Changes in this version + func GetContainerIdFromTaskDir(taskPath string) (string, error) + func RuntimeInfoService(sockets runtime.Sockets) runtimeInfoService + type CgroupInfo struct + Container cruntime.ContainerMetadata + ContainerRoot bool + Ctime time.Time + Dead bool + Path string + Runtime cruntime.RuntimeId + type ContainerPathResolver struct + func InitContainerPathResolver(mountNSPIDsCache *bucketscache.BucketsCache) *ContainerPathResolver + func (cPathRes *ContainerPathResolver) GetHostAbsPath(mountNSAbsolutePath string, mountNS int) (string, error) + type Containers struct + func New(cgroups *cgroup.Cgroups, sockets cruntime.Sockets, mapName string) (*Containers, error) + func (c *Containers) CgroupExists(cgroupId uint64) bool + func (c *Containers) CgroupMkdir(cgroupId uint64, subPath string, hierarchyID uint32) (CgroupInfo, error) + func (c *Containers) CgroupRemove(cgroupId uint64, hierarchyID uint32) + func (c *Containers) Close() error + func (c *Containers) EnrichCgroupInfo(cgroupId uint64) (cruntime.ContainerMetadata, error) + func (c *Containers) FindContainerCgroupID32LSB(containerID string) []uint32 + func (c *Containers) GetCgroupInfo(cgroupId uint64) CgroupInfo + func (c *Containers) GetCgroupVersion() cgroup.CgroupVersion + func (c *Containers) GetContainers() map[uint32]CgroupInfo + func (c *Containers) GetDefaultCgroupHierarchyID() int + func (c *Containers) Populate() error + func (c *Containers) PopulateBpfMap(bpfModule *libbpfgo.Module) error + func (c *Containers) RemoveFromBPFMap(bpfModule *libbpfgo.Module, cgroupId uint64, hierarchyID uint32) error + type SignaturesDataSource struct + func NewDataSource(c *Containers) *SignaturesDataSource + func (ctx SignaturesDataSource) Get(key interface{}) (map[string]interface{}, error) + func (ctx SignaturesDataSource) ID() string + func (ctx SignaturesDataSource) Keys() []string + func (ctx SignaturesDataSource) Namespace() string + func (ctx SignaturesDataSource) Schema() string + func (ctx SignaturesDataSource) Version() uint