mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-05 00:15:44 +00:00
utils: Add missing symbols for FreeBSD
[NO NEW TESTS NEEDED] Signed-off-by: Doug Rabson <dfr@rabson.org>
This commit is contained in:
parent
d36f3952d4
commit
a68e6ddbb9
1 changed files with 22 additions and 0 deletions
22
utils/utils_freebsd.go
Normal file
22
utils/utils_freebsd.go
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
//go:build freebsd
|
||||
// +build freebsd
|
||||
|
||||
package utils
|
||||
|
||||
import "errors"
|
||||
|
||||
func RunUnderSystemdScope(pid int, slice string, unitName string) error {
|
||||
return errors.New("not implemented for freebsd")
|
||||
}
|
||||
|
||||
func MoveUnderCgroupSubtree(subtree string) error {
|
||||
return errors.New("not implemented for freebsd")
|
||||
}
|
||||
|
||||
func GetOwnCgroup() (string, error) {
|
||||
return "", errors.New("not implemented for freebsd")
|
||||
}
|
||||
|
||||
func GetCgroupProcess(pid int) (string, error) {
|
||||
return "", errors.New("not implemented for freebsd")
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue