Documentation ¶
Index ¶
- Constants
- func GetClockMonotonic() (t time.Time, err error)
- func HasAdminPrivileges() bool
- func HasCapabilities(caps ...cap.Value) bool
- func ReexecSelf() error
- func SetSysctl(name string, value any) error
- func SetSysctlMap(m map[string]any) error
- func SetupSignals(extraSignals ...os.Signal) chan os.Signal
Constants ¶
View Source
const ( SigUpdate = unix.SIGUSR1 SigReload = unix.SIGHUP )
View Source
const ReexecSelfSupported = true
Variables ¶
This section is empty.
Functions ¶
func GetClockMonotonic ¶ added in v0.7.0
GetClockMonotonic returns the current time from the CLOCK_MONOTONIC clock.
func HasAdminPrivileges ¶
func HasAdminPrivileges() bool
func HasCapabilities ¶
func ReexecSelf ¶
func ReexecSelf() error
func SetSysctlMap ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.