Documentation ¶
Index ¶
- func ApplyCapability(c *syscall.Credential) error
- func CreateAndSaveJSON(path string, content interface{}) error
- func CreateStateDirs(provider string, uid int, gid int) error
- func DisableKeepCapability() error
- func EnableKeepCapability() error
- func GetUserCredentials(usr string) (*syscall.Credential, error)
- func SwitchUser(c *syscall.Credential) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyCapability ¶
func ApplyCapability(c *syscall.Credential) error
func CreateAndSaveJSON ¶
func DisableKeepCapability ¶
func DisableKeepCapability() error
func EnableKeepCapability ¶
func EnableKeepCapability() error
func GetUserCredentials ¶
func GetUserCredentials(usr string) (*syscall.Credential, error)
func SwitchUser ¶
func SwitchUser(c *syscall.Credential) (err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.