Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandomGroup ¶
func RandomGroup() string
func RandomName ¶
func RandomName() string
func RandomSlice ¶
func RandomSlice() string
Types ¶
type IReLimit ¶
type IReLimit interface {
Start(cmdl string, args ...string) (output []byte, err error)
Close()
SetDebug(debug bool)
GetCmd() *utils.Command
GetCgroup() cgroup.ICgroup
StartByPid(pid int) error
SetUsername(username string) error
SetUser(user *user.User) IReLimit
SetNoSetGroups(noSetGroups bool)
}
func MustNewRelimit ¶
Click to show internal directories.
Click to hide internal directories.