summaryrefslogtreecommitdiff
path: root/sd_login/systemd_cgroup.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-04-16 10:06:30 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-05-15 19:09:20 -0400
commit265dd14966ae7b83d184d276f6085c12aa18a427 (patch)
tree3641ac39daebc7f090a0d014cc95f8c235c67dda /sd_login/systemd_cgroup.go
parent131b228ee70abffea7ca8580af7b5efe2cd36ead (diff)
sd_login: rename files
Diffstat (limited to 'sd_login/systemd_cgroup.go')
-rw-r--r--sd_login/systemd_cgroup.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/sd_login/systemd_cgroup.go b/sd_login/systemd_cgroup.go
new file mode 100644
index 0000000..0ceef37
--- /dev/null
+++ b/sd_login/systemd_cgroup.go
@@ -0,0 +1,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)