mirror of
https://github.com/docker/cli.git
synced 2026-01-26 15:41:42 +03:00
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael) Upstream-commit: 811d93326bc2d9451eb444e2343bb3063611de7a Component: engine
22 lines
375 B
Go
22 lines
375 B
Go
// +build !linux
|
|
|
|
package systemd
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/dotcloud/docker/pkg/libcontainer/cgroups"
|
|
)
|
|
|
|
func UseSystemd() bool {
|
|
return false
|
|
}
|
|
|
|
func Apply(c *cgroups.Cgroup, pid int) (cgroups.ActiveCgroup, error) {
|
|
return nil, fmt.Errorf("Systemd not supported")
|
|
}
|
|
|
|
func GetPids(c *cgroups.Cgroup) ([]int, error) {
|
|
return nil, fmt.Errorf("Systemd not supported")
|
|
}
|