system

package
v0.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyCapability

func ApplyCapability(c *syscall.Credential) error

func CreateAndSaveJSON

func CreateAndSaveJSON(path string, content interface{}) error

func CreateStateDirs

func CreateStateDirs(provider string, uid int, gid int) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL