Versions in this module Expand all Collapse all v0 v0.2.0 Dec 26, 2025 Changes in this version + func DefaultContext() (context.Context, context.CancelFunc) + func UnitNameForGameID(gameID string) string + type Systemctl struct + DryRun bool + func (s Systemctl) GetAllowedCPUs(ctx context.Context, unit string) (string, error) + func (s Systemctl) SetAllowedCPUs(ctx context.Context, unit string, cpus string) error + func (s Systemctl) StartUnit(ctx context.Context, unit string) error + type UserManager struct + DryRun bool + func NewUserManager(dryRun bool) (*UserManager, error) + func (m *UserManager) AttachProcessesToUnit(ctx context.Context, unit string, subcgroup string, pids []int) error + func (m *UserManager) Close() error + func (m *UserManager) EnsureTransientScope(ctx context.Context, scopeName string, pids []int, slice string, ...) (created bool, err error)