Documentation ¶
Index ¶
- func GetCgroupIdByPath(filepath string) (uint64, error)
- type CgroupData
- type CgroupID
- type ContainerID
- type InternalEventsDiscoverer
- type InternalEventsDiscovererImpl
- func (e *InternalEventsDiscovererImpl) CgroupsInfo() *lru.Cache[CgroupID, ContainerID]
- func (e *InternalEventsDiscovererImpl) ContainersInfo() *lru.Cache[ContainerID, CgroupData]
- func (e *InternalEventsDiscovererImpl) Start() error
- func (e *InternalEventsDiscovererImpl) TargetCgroup(cgroupId uint64)
- func (e *InternalEventsDiscovererImpl) UntargetCgroup(cgroupId uint64)
- type RuntimeId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCgroupIdByPath ¶
Types ¶
type CgroupData ¶
type ContainerID ¶
type ContainerID string
type InternalEventsDiscoverer ¶
type InternalEventsDiscoverer interface { Start() error CgroupsInfo() *lru.Cache[CgroupID, ContainerID] ContainersInfo() *lru.Cache[ContainerID, CgroupData] TargetCgroup(cgroupId uint64) UntargetCgroup(cgroupId uint64) }
func NewInternalEventsDiscoverer ¶
func NewInternalEventsDiscoverer(procfs string, bpfObjects *bpf.BpfObjects) InternalEventsDiscoverer
type InternalEventsDiscovererImpl ¶
type InternalEventsDiscovererImpl struct {
// contains filtered or unexported fields
}
func (*InternalEventsDiscovererImpl) CgroupsInfo ¶
func (e *InternalEventsDiscovererImpl) CgroupsInfo() *lru.Cache[CgroupID, ContainerID]
func (*InternalEventsDiscovererImpl) ContainersInfo ¶
func (e *InternalEventsDiscovererImpl) ContainersInfo() *lru.Cache[ContainerID, CgroupData]
func (*InternalEventsDiscovererImpl) Start ¶
func (e *InternalEventsDiscovererImpl) Start() error
func (*InternalEventsDiscovererImpl) TargetCgroup ¶
func (e *InternalEventsDiscovererImpl) TargetCgroup(cgroupId uint64)
func (*InternalEventsDiscovererImpl) UntargetCgroup ¶
func (e *InternalEventsDiscovererImpl) UntargetCgroup(cgroupId uint64)
type RuntimeId ¶
type RuntimeId int
Click to show internal directories.
Click to hide internal directories.