package systemd
import "github.com/opencontainers/runc/libcontainer/cgroups/systemd"
Index ¶
- func UseSystemd() bool
- type Manager
- func (m *Manager) Apply(pid int) error
- func (m *Manager) Destroy() error
- func (m *Manager) Freeze(state configs.FreezerState) error
- func (m *Manager) GetPaths() map[string]string
- func (m *Manager) GetPids() ([]int, error)
- func (m *Manager) GetStats() (*cgroups.Stats, error)
- func (m *Manager) Set(container *configs.Config) error
Functions ¶
func UseSystemd ¶
func UseSystemd() bool
Types ¶
type Manager ¶
type Manager struct { Cgroups *configs.Cgroup Paths map[string]string // contains filtered or unexported fields }
func (*Manager) Apply ¶
func (*Manager) Destroy ¶
func (*Manager) Freeze ¶
func (m *Manager) Freeze(state configs.FreezerState) error
func (*Manager) GetPaths ¶
func (*Manager) GetPids ¶
func (*Manager) GetStats ¶
func (*Manager) Set ¶
Source Files ¶
- Version
- v0.0.4
- Published
- Sep 11, 2015
- Platform
- linux/amd64
- Imports
- 14 packages
- Last checked
- 19 minutes ago –
Tools for package owners.