summaryrefslogtreecommitdiff
path: root/utils/utils_windows.go
blob: 2c159ab06db0aea66d33d842377c5a289da9a380 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//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 GetCgroupProcess(pid int) (string, error) {
	return "", errors.New("not implemented for windows")
}