container

package
v0.0.0-...-a61484d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package container holds container related files

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

type Resolver struct {
	// contains filtered or unexported fields
}

Resolver is used to resolve the container context of the events

func New

func New() *Resolver

New creates a new container resolver

func (*Resolver) GetContainerContext

func (cr *Resolver) GetContainerContext(pid uint32) (containerutils.ContainerID, model.CGroupContext, string, error)

GetContainerContext returns the container id, cgroup context, and cgroup sysfs path of the given pid

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL