summaryrefslogtreecommitdiff
path: root/utils/utils_windows.go
blob: 18f232116f36d027bad349b3c5493b0e52448856 (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
//go:build windows
// +build windows

package utils

import "errors"

func RunUnderSystemdScope(pid int, slice string, unitName string) error {
	return errors.New("not implemented for windows")
}

func MoveUnderCgroupSubtree(subtree string) error {
	return errors.New("not implemented for windows")
}

func GetOwnCgroup() (string, error) {
	return "", errors.New("not implemented for windows")
}

func GetOwnCgroupDisallowRoot() (string, error) {
	return "", errors.New("not implemented for windows")
}

func GetCgroupProcess(pid int) (string, error) {
	return "", errors.New("not implemented for windows")
}