summaryrefslogtreecommitdiff
path: root/sd_login/systemd_cgroup.go
blob: 12d5ade43be047092cec952ecb50405e085a1fff (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() SessionName
	GetOwnerUser() UserID
	GetMachine() MachineName

	GetUserSlice() string
	GetUserUnit() string

	GetSlice() string
	GetUnit() string
}

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