blob: fc3d00274f462a582d88f6188cea6980bce99066 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
//go:build !linux && !freebsd
// +build !linux,!freebsd
package libpod
import (
"errors"
spec "github.com/opencontainers/runtime-spec/specs-go"
)
// systemdSliceFromPath makes a new systemd slice under the given parent with
// the given name.
// The parent must be a slice. The name must NOT include ".slice"
func systemdSliceFromPath(parent, name string, resources *spec.LinuxResources) (string, error) {
return "", errors.New("not implemented systemdSliceFromPath")
}
// Unmount umounts a target directory
func Unmount(mount string) {
}
// LabelVolumePath takes a mount path for a volume and gives it an
// selinux label of either shared or not
func LabelVolumePath(path string) error {
return errors.New("not implemented LabelVolumePath")
}
|