namespace

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindPIDs added in v0.20.0

func FindPIDs(fs fs.FS, pid int) ([]int, error)

func MountNamespaceInode

func MountNamespaceInode(pid int) (uint64, error)

MountNamespaceInode returns the inode of the mount namespace of the given pid.

Types

type Cache added in v0.20.0

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

func NewCache added in v0.20.0

func NewCache(logger log.Logger, reg prometheus.Registerer, profilingDuration time.Duration) *Cache

func (*Cache) Get added in v0.20.0

func (c *Cache) Get(key int) ([]int, error)

Jump to

Keyboard shortcuts

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