Documentation
¶
Overview ¶
Package paths resolves the directories plexd uses by default on the host it runs on: the configuration directory, the data directory and the runtime directory, plus the files the rest of the agent derives from them.
Every value is a default. --config, PLEXD_CONFIG, the YAML keys and the PLEXD_* environment overrides replace it, and they take precedence on every platform. The per-platform values are listed in docs/reference/core/configuration.md under "Platform defaults".
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataDir ¶
func DataDir() string
DataDir returns the default data directory. It is never the same directory as ConfigDir: plexd deregister --purge removes the data directory whole, so an equal pair would take config.yaml down with the identity.
func SocketPath ¶
func SocketPath() string
SocketPath returns the default address of the local node API: a Unix socket path, or the named pipe `\\.\pipe\plexd` on Windows.
Types ¶
This section is empty.