cgroup

package
v0.0.0-...-e890a9a Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CgroupPath = "/sys/fs/cgroup"
	SlicePath  = "/sys/fs/cgroup/u-bmc.slice"
)

Variables

This section is empty.

Functions

func ExecShim

func ExecShim() error

Types

type Cgroup

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

func New

func New(name string) (*Cgroup, error)

func (*Cgroup) Run

func (cg *Cgroup) Run() error

func (*Cgroup) Teardown

func (cg *Cgroup) Teardown() error

Jump to

Keyboard shortcuts

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