runc: github.com/opencontainers/runc/libcontainer/cgroups/fs Index | Files

package fs

import "github.com/opencontainers/runc/libcontainer/cgroups/fs"

Index

Package Files

apply_raw.go blkio.go cpu.go cpuacct.go cpuset.go devices.go freezer.go hugetlb.go kmem.go memory.go name.go net_cls.go net_prio.go perf_event.go pids.go

Variables

var (
    HugePageSizes, _ = cgroups.GetHugePageSize()
)

func EnableKernelMemoryAccounting Uses

func EnableKernelMemoryAccounting(path string) error

func NewManager Uses

func NewManager(cg *configs.Cgroup, paths map[string]string, rootless bool) cgroups.Manager

type BlkioGroup Uses

type BlkioGroup struct {
}

func (*BlkioGroup) Apply Uses

func (s *BlkioGroup) Apply(d *cgroupData) error

func (*BlkioGroup) GetStats Uses

func (s *BlkioGroup) GetStats(path string, stats *cgroups.Stats) error

func (*BlkioGroup) Name Uses

func (s *BlkioGroup) Name() string

func (*BlkioGroup) Remove Uses

func (s *BlkioGroup) Remove(d *cgroupData) error

func (*BlkioGroup) Set Uses

func (s *BlkioGroup) Set(path string, cgroup *configs.Cgroup) error

type CpuGroup Uses

type CpuGroup struct {
}

func (*CpuGroup) Apply Uses

func (s *CpuGroup) Apply(d *cgroupData) error

func (*CpuGroup) ApplyDir Uses

func (s *CpuGroup) ApplyDir(path string, cgroup *configs.Cgroup, pid int) error

func (*CpuGroup) GetStats Uses

func (s *CpuGroup) GetStats(path string, stats *cgroups.Stats) error

func (*CpuGroup) Name Uses

func (s *CpuGroup) Name() string

func (*CpuGroup) Remove Uses

func (s *CpuGroup) Remove(d *cgroupData) error

func (*CpuGroup) Set Uses

func (s *CpuGroup) Set(path string, cgroup *configs.Cgroup) error

func (*CpuGroup) SetRtSched Uses

func (s *CpuGroup) SetRtSched(path string, cgroup *configs.Cgroup) error

type CpuacctGroup Uses

type CpuacctGroup struct {
}

func (*CpuacctGroup) Apply Uses

func (s *CpuacctGroup) Apply(d *cgroupData) error

func (*CpuacctGroup) GetStats Uses

func (s *CpuacctGroup) GetStats(path string, stats *cgroups.Stats) error

func (*CpuacctGroup) Name Uses

func (s *CpuacctGroup) Name() string

func (*CpuacctGroup) Remove Uses

func (s *CpuacctGroup) Remove(d *cgroupData) error

func (*CpuacctGroup) Set Uses

func (s *CpuacctGroup) Set(path string, cgroup *configs.Cgroup) error

type CpusetGroup Uses

type CpusetGroup struct {
}

func (*CpusetGroup) Apply Uses

func (s *CpusetGroup) Apply(d *cgroupData) error

func (*CpusetGroup) ApplyDir Uses

func (s *CpusetGroup) ApplyDir(dir string, cgroup *configs.Cgroup, pid int) error

func (*CpusetGroup) GetStats Uses

func (s *CpusetGroup) GetStats(path string, stats *cgroups.Stats) error

func (*CpusetGroup) Name Uses

func (s *CpusetGroup) Name() string

func (*CpusetGroup) Remove Uses

func (s *CpusetGroup) Remove(d *cgroupData) error

func (*CpusetGroup) Set Uses

func (s *CpusetGroup) Set(path string, cgroup *configs.Cgroup) error

type DevicesGroup Uses

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

func (*DevicesGroup) Apply Uses

func (s *DevicesGroup) Apply(d *cgroupData) error

func (*DevicesGroup) GetStats Uses

func (s *DevicesGroup) GetStats(path string, stats *cgroups.Stats) error

func (*DevicesGroup) Name Uses

func (s *DevicesGroup) Name() string

func (*DevicesGroup) Remove Uses

func (s *DevicesGroup) Remove(d *cgroupData) error

func (*DevicesGroup) Set Uses

func (s *DevicesGroup) Set(path string, cgroup *configs.Cgroup) error

type FreezerGroup Uses

type FreezerGroup struct {
}

func (*FreezerGroup) Apply Uses

func (s *FreezerGroup) Apply(d *cgroupData) error

func (*FreezerGroup) GetState Uses

func (s *FreezerGroup) GetState(path string) (configs.FreezerState, error)

func (*FreezerGroup) GetStats Uses

func (s *FreezerGroup) GetStats(path string, stats *cgroups.Stats) error

func (*FreezerGroup) Name Uses

func (s *FreezerGroup) Name() string

func (*FreezerGroup) Remove Uses

func (s *FreezerGroup) Remove(d *cgroupData) error

func (*FreezerGroup) Set Uses

func (s *FreezerGroup) Set(path string, cgroup *configs.Cgroup) error

type HugetlbGroup Uses

type HugetlbGroup struct {
}

func (*HugetlbGroup) Apply Uses

func (s *HugetlbGroup) Apply(d *cgroupData) error

func (*HugetlbGroup) GetStats Uses

func (s *HugetlbGroup) GetStats(path string, stats *cgroups.Stats) error

func (*HugetlbGroup) Name Uses

func (s *HugetlbGroup) Name() string

func (*HugetlbGroup) Remove Uses

func (s *HugetlbGroup) Remove(d *cgroupData) error

func (*HugetlbGroup) Set Uses

func (s *HugetlbGroup) Set(path string, cgroup *configs.Cgroup) error

type MemoryGroup Uses

type MemoryGroup struct {
}

func (*MemoryGroup) Apply Uses

func (s *MemoryGroup) Apply(d *cgroupData) (err error)

func (*MemoryGroup) GetStats Uses

func (s *MemoryGroup) GetStats(path string, stats *cgroups.Stats) error

func (*MemoryGroup) Name Uses

func (s *MemoryGroup) Name() string

func (*MemoryGroup) Remove Uses

func (s *MemoryGroup) Remove(d *cgroupData) error

func (*MemoryGroup) Set Uses

func (s *MemoryGroup) Set(path string, cgroup *configs.Cgroup) error

type NameGroup Uses

type NameGroup struct {
    GroupName string
    Join      bool
}

func (*NameGroup) Apply Uses

func (s *NameGroup) Apply(d *cgroupData) error

func (*NameGroup) GetStats Uses

func (s *NameGroup) GetStats(path string, stats *cgroups.Stats) error

func (*NameGroup) Name Uses

func (s *NameGroup) Name() string

func (*NameGroup) Remove Uses

func (s *NameGroup) Remove(d *cgroupData) error

func (*NameGroup) Set Uses

func (s *NameGroup) Set(path string, cgroup *configs.Cgroup) error

type NetClsGroup Uses

type NetClsGroup struct {
}

func (*NetClsGroup) Apply Uses

func (s *NetClsGroup) Apply(d *cgroupData) error

func (*NetClsGroup) GetStats Uses

func (s *NetClsGroup) GetStats(path string, stats *cgroups.Stats) error

func (*NetClsGroup) Name Uses

func (s *NetClsGroup) Name() string

func (*NetClsGroup) Remove Uses

func (s *NetClsGroup) Remove(d *cgroupData) error

func (*NetClsGroup) Set Uses

func (s *NetClsGroup) Set(path string, cgroup *configs.Cgroup) error

type NetPrioGroup Uses

type NetPrioGroup struct {
}

func (*NetPrioGroup) Apply Uses

func (s *NetPrioGroup) Apply(d *cgroupData) error

func (*NetPrioGroup) GetStats Uses

func (s *NetPrioGroup) GetStats(path string, stats *cgroups.Stats) error

func (*NetPrioGroup) Name Uses

func (s *NetPrioGroup) Name() string

func (*NetPrioGroup) Remove Uses

func (s *NetPrioGroup) Remove(d *cgroupData) error

func (*NetPrioGroup) Set Uses

func (s *NetPrioGroup) Set(path string, cgroup *configs.Cgroup) error

type PerfEventGroup Uses

type PerfEventGroup struct {
}

func (*PerfEventGroup) Apply Uses

func (s *PerfEventGroup) Apply(d *cgroupData) error

func (*PerfEventGroup) GetStats Uses

func (s *PerfEventGroup) GetStats(path string, stats *cgroups.Stats) error

func (*PerfEventGroup) Name Uses

func (s *PerfEventGroup) Name() string

func (*PerfEventGroup) Remove Uses

func (s *PerfEventGroup) Remove(d *cgroupData) error

func (*PerfEventGroup) Set Uses

func (s *PerfEventGroup) Set(path string, cgroup *configs.Cgroup) error

type PidsGroup Uses

type PidsGroup struct {
}

func (*PidsGroup) Apply Uses

func (s *PidsGroup) Apply(d *cgroupData) error

func (*PidsGroup) GetStats Uses

func (s *PidsGroup) GetStats(path string, stats *cgroups.Stats) error

func (*PidsGroup) Name Uses

func (s *PidsGroup) Name() string

func (*PidsGroup) Remove Uses

func (s *PidsGroup) Remove(d *cgroupData) error

func (*PidsGroup) Set Uses

func (s *PidsGroup) Set(path string, cgroup *configs.Cgroup) error

Package fs imports 23 packages (graph) and is imported by 990 packages. Updated 2020-06-01. Refresh now. Tools for package owners.