v1

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cgroup

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

func NewCgroup

func NewCgroup(slice, name string, memoryLimitInBytes int64) (Cgroup, error)

func (Cgroup) AddProc

func (cg Cgroup) AddProc(pid int) error

func (Cgroup) Delete

func (cg Cgroup) Delete() error

Jump to

Keyboard shortcuts

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