summaryrefslogtreecommitdiff
path: root/sd_login/cgroup.go
blob: 0ceef37e4045f8a0349a656334299ad2c1065ae6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package sd_login

type _Cgroup interface {
	MustSkipSystemPrefix() _Cgroup
	GetSession() Session
	GetOwnerUser() User
	GetMachine() Machine

	GetUserSlice() string
	GetUserUnit() string

	GetSlice() string
	GetUnit() string
}

func (pid PID) getCgroup() (_Cgroup, error)