Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultNewuidmap = "newuidmap" DefaultNewgidmap = "newgidmap" DefaultImageStateDir = "${XDG_STATE_HOME}/gate/image" DefaultDatabaseDriver = "sqlite" DefaultInventoryDSN = "file:${XDG_STATE_HOME}/gate/inventory/inventory.sqlite?cache=shared" )
Variables ¶
View Source
var DefaultConfigFiles = []string{
"${XDG_CONFIG_HOME}/gate/daemon.toml",
"${XDG_CONFIG_HOME}/gate/daemon.d/*.toml",
}
Functions ¶
Types ¶
type Config ¶
type Config struct { Runtime struct { runtime.Config PrepareProcesses int } Image struct { StateDir string } Inventory map[string]database.Config Service map[string]any Principal server.AccessConfig HTTP struct { Addr string webserver.Config Static []struct { URI string Path string } } Log struct { Journal bool } }
Click to show internal directories.
Click to hide internal directories.