Versions in this module Expand all Collapse all v0 v0.2.1 Feb 9, 2024 Changes in this version + const DEFAULT_CPU_QUOTA_PERCENT_PER_CPU — linux/amd64 + const DEFAULT_INOXD_ENV_FILE_PATH + const INOXD_ENV_FILE_DIR_PERMS + const INOXD_ENV_FILE_PERMS + const INOX_SERVICE_UNIT_FPERMS — linux/amd64 + const INOX_SERVICE_UNIT_NAME — linux/amd64 + const INOX_SERVICE_UNIT_PATH — linux/amd64 + const SYSTEMCTL_CMD_NAME — linux/amd64 + const SYSTEMD_DIR_PATH — linux/amd64 + var ErrBadEnvFilePerms = errors.New(...) + var ErrEnvFileNotOwnedByRoot = errors.New("the inoxd environment file is not owned by root") + var ErrEnvFileNotOwnedByRootGroup = errors.New("the inoxd environment file is not owned by the root group") + var ErrNoSystemd = errors.New("systemd does not seem to be the init system on this machine") — linux/amd64 + var ErrNotRoot = errors.New("current user is not root") — linux/amd64 + var ErrUnitFileExists = errors.New("unit file already exists") — linux/amd64 + var SYSTEMCTL_ALLOWED_LOCATIONS = []string + func CheckFileDoesNotExist() error — linux/amd64 + func CreateInoxdEnvFileIfNotExists(outW io.Writer, input EnvFileCreationParams) (path string, _ error) + func EnableInoxd(unitName string, out io.Writer, errOut io.Writer) error — linux/amd64 + func StartInoxd(unitName string, restart bool, out io.Writer, errOut io.Writer) error + func StopRemoveUnit(removeEnvFile bool, out io.Writer, errOut io.Writer) error + func WriteInoxUnitFile(args InoxUnitParams) (unitName string, _ error) — linux/amd64 + type EnvFileCreationParams struct + CloudflareOriginCertificate string + type InoxUnitParams struct — linux/amd64 + AllowBrowserAutomation bool + EnvFilePath string + ExposeProjectServers bool + ExposeWebServers bool + Homedir string + InoxCloud bool + Log io.Writer + ProdDir string + ProjectsDir string + TunnelProviderName string + UID int + Username string