system

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDirIfNotExist

func CreateDirIfNotExist(dir string) error

Create directory if not exist

func GetMachineID added in v0.6.0

func GetMachineID() (string, error)

func GetRollingLogWriter

func GetRollingLogWriter(logDirPath, logName string, uid, gid int) (io.Writer, string, error)

func GetSandboxLocalFilesBaseDir added in v1.0.0

func GetSandboxLocalFilesBaseDir(sbName string) (string, error)

func GetSandboxesDir added in v1.0.0

func GetSandboxesDir() (string, error)

func GetSignadotDir

func GetSignadotDir() (string, error)

Get signadot directory ($HOME/.signadot)

func OpenBrowser added in v1.0.0

func OpenBrowser(url string) error

OpenBrowser opens the specified URL in the user's default browser

Types

This section is empty.

Jump to

Keyboard shortcuts

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