Documentation
¶
Index ¶
Constants ¶
View Source
const ( DAEMON_SUBCMD = "daemon" INOXD_LOG_SRC = "/inoxd" )
View Source
const ( INOXD_USERNAME = "inoxd" HOMEDIR_PERMS = 0740 )
View Source
const (
CGROUPV2_PATH = "/sys/fs/cgroup/"
)
Variables ¶
View Source
var ( ALLOWED_USERADD_LOCATIONS = []string{"/usr/sbin/useradd", "/sbin/useradd"} ALLOWED_USERDEL_LOCATIONS = []string{"/usr/sbin/userdel", "/sbin/userdel"} )
Functions ¶
func RemoveInoxdUser ¶
func RemoveInoxdUser(args UserRemovalParams) error
Types ¶
type DaemonConfig ¶
type DaemonConfig struct { InoxCloud bool `json:"inoxCloud,omitempty"` Server projectserver.IndividualServerConfig `json:"projectServerConfig"` ExposeWebServers bool `json:"exposeWebServers,omitempty"` TunnelProvider string `json:"tunnelProvider,omitempty"` InoxBinaryPath string `json:"-"` }
type InoxdArgs ¶
type InoxdArgs struct { Config DaemonConfig Logger zerolog.Logger GoCtx context.Context DoNotUseCgroups bool TestOnlyProxyConfig *cloudproxy.CloudProxyConfig }
type UserRemovalParams ¶
Click to show internal directories.
Click to hide internal directories.