package systemd
import "github.com/docker/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
- v2.2.1+incompatible (latest)
- Published
- Jun 15, 2015
- Platform
- linux/amd64
- Imports
- 13 packages
- Last checked
- 2 weeks ago –
Tools for package owners.