Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerStrategy ¶
type ContainerStrategy struct{}
ContainerStrategy handles reparenting for containerd-based containers
func (*ContainerStrategy) GetNewParentPID ¶
func (cs *ContainerStrategy) GetNewParentPID(exitingPID uint32, children []*apitypes.Process, containerTree containerprocesstree.ContainerProcessTree, processMap *maps.SafeMap[uint32, *apitypes.Process]) uint32
func (*ContainerStrategy) IsApplicable ¶
func (cs *ContainerStrategy) IsApplicable(exitingPID uint32, containerTree containerprocesstree.ContainerProcessTree, processMap *maps.SafeMap[uint32, *apitypes.Process]) bool
func (*ContainerStrategy) Name ¶
func (cs *ContainerStrategy) Name() string
type DefaultStrategy ¶
type DefaultStrategy struct{}
func (*DefaultStrategy) GetNewParentPID ¶
func (defs *DefaultStrategy) GetNewParentPID(exitingPID uint32, children []*apitypes.Process, containerTree containerprocesstree.ContainerProcessTree, processMap *maps.SafeMap[uint32, *apitypes.Process]) uint32
func (*DefaultStrategy) IsApplicable ¶
func (defs *DefaultStrategy) IsApplicable(exitingPID uint32, containerTree containerprocesstree.ContainerProcessTree, processMap *maps.SafeMap[uint32, *apitypes.Process]) bool
func (*DefaultStrategy) Name ¶
func (defs *DefaultStrategy) Name() string
type FallBackStrategy ¶
type FallBackStrategy struct{}
func (*FallBackStrategy) GetNewParentPID ¶
func (fbs *FallBackStrategy) GetNewParentPID(exitingPID uint32, children []*apitypes.Process, containerTree containerprocesstree.ContainerProcessTree, processMap *maps.SafeMap[uint32, *apitypes.Process]) uint32
func (*FallBackStrategy) IsApplicable ¶
func (fbs *FallBackStrategy) IsApplicable(exitingPID uint32, containerTree containerprocesstree.ContainerProcessTree, processMap *maps.SafeMap[uint32, *apitypes.Process]) bool
func (*FallBackStrategy) Name ¶
func (fbs *FallBackStrategy) Name() string
Click to show internal directories.
Click to hide internal directories.