Documentation
¶
Index ¶
- Variables
- func CgroupCreate(path string) (*Pod, *Container)
- func CgroupDelete(path string) (*Pod, *Container)
- func GetAncestors(pid int) []int
- func GetAttackGraph(pid int) []*apis.ProcessSpec
- func GetContainerIDs() []string
- func GetHostMountNsID() uint32
- func GetProcessIDs() []int
- func Load(ctx context.Context) error
- func ProcessClone(process *Process)
- func ProcessExit(pid int)
- type Container
- type Each
- type Group
- type Pod
- type Process
- type User
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ClockTicks float64 = 100 // default value
)
Functions ¶
func CgroupCreate ¶
func CgroupDelete ¶
func GetAncestors ¶
func GetAttackGraph ¶
func GetAttackGraph(pid int) []*apis.ProcessSpec
func GetContainerIDs ¶
func GetContainerIDs() []string
func GetHostMountNsID ¶
func GetHostMountNsID() uint32
func GetProcessIDs ¶
func GetProcessIDs() []int
func ProcessClone ¶
func ProcessClone(process *Process)
func ProcessExit ¶
func ProcessExit(pid int)
Types ¶
type Container ¶
type Container struct {
*apis.ContainerSpec
RuncPid int
MountNsID uint32
// contains filtered or unexported fields
}
func GetContainer ¶
func GetContainerByMountID ¶
type Each ¶
type Process ¶
type Process struct {
*apis.ProcessSpec
Uid int
Gid int
MountNsID uint32
NetNsID uint32
// contains filtered or unexported fields
}
func GetProcess ¶
Click to show internal directories.
Click to hide internal directories.