summaryrefslogtreecommitdiff
path: root/utils/utils_windows.go
blob: 1d017f5ae7e3933703322d9504dbfabf47701fe1 (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 "github.com/pkg/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")
}