namespace

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: Apache-2.0 Imports: 12 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)

TODO(kakkoyun): Do not expose fs.FS directly.

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