Documentation
¶
Overview ¶
Package embedded provides embedded files for the installer.
Index ¶
- Variables
- func GetProcmgrProcess(name string) ([]byte, error)
- func GetProcmgrUnit(name string, unitType UnitType, ambiantCapabilitiesSupported bool) ([]byte, error)
- func GetSystemdUnit(name string, unitType UnitType, ambiantCapabilitiesSupported bool) ([]byte, error)
- func ShippedProcmgrConfigFiles() ([]string, error)
- type UnitType
Constants ¶
This section is empty.
Variables ¶
var ADPWindowsProcmgrConfig string
ADPWindowsProcmgrConfig is the codegen-rendered process manager config for ADP on Windows (see embedded/tmpl/main.go). Install time replaces __ADP_*__ placeholders.
var DDOTWindowsProcmgrConfig string
DDOTWindowsProcmgrConfig is the codegen-rendered process manager config for DDOT on Windows (see embedded/tmpl/main.go). Install time replaces __DDOT_*__ placeholders.
var PARControlWindowsProcmgrConfig string
PARControlWindowsProcmgrConfig is the codegen-rendered process manager config for the PAR control plane on Windows (see embedded/tmpl/main.go). Installer replaces __PAR_*__ placeholders.
var PARExecutorWindowsProcmgrConfig string
PARExecutorWindowsProcmgrConfig is the codegen-rendered process manager config for the PAR on-demand executor on Windows (see embedded/tmpl/main.go).
var PARWindowsProcmgrConfig string
PARWindowsProcmgrConfig is the codegen-rendered process manager config for PAR on Windows (see embedded/tmpl/main.go). Install time replaces __PAR_*__ placeholders.
var ProcessWindowsProcmgrConfig string
ProcessWindowsProcmgrConfig is the codegen-rendered process manager config for the process agent on Windows (see embedded/tmpl/main.go). Install time replaces __PROCESS_*__ placeholders.
var ScriptDDCleanup []byte
ScriptDDCleanup is the embedded dd-cleanup script.
var ScriptDDContainerInstall []byte
ScriptDDContainerInstall is the embedded dd-container-install script.
var ScriptDDHostInstall []byte
ScriptDDHostInstall is the embedded dd-host-install script.
var SysprobeWindowsProcmgrConfig string
SysprobeWindowsProcmgrConfig is the codegen-rendered process manager config for system-probe on Windows (see embedded/tmpl/main.go). Install time replaces __SYSPROBE_*__ placeholders.
Functions ¶
func GetProcmgrProcess ¶ added in v0.84.0
GetProcmgrProcess returns the process config for the given name (actually only for procmgr)
func GetProcmgrUnit ¶ added in v0.84.0
func GetProcmgrUnit(name string, unitType UnitType, ambiantCapabilitiesSupported bool) ([]byte, error)
GetProcmgrUnit returns the unit for the given name, for the procmgr service manager.
func GetSystemdUnit ¶ added in v0.68.0
func GetSystemdUnit(name string, unitType UnitType, ambiantCapabilitiesSupported bool) ([]byte, error)
GetSystemdUnit returns the unit for the given name, for the plain systemd service manager.
func ShippedProcmgrConfigFiles ¶ added in v0.85.0
ShippedProcmgrConfigFiles returns the basenames of processes.d YAML files the installer embeds for Linux (tmpl/gen/pm/processes.d) and Windows (tmpl/gen/windows). Used by COAT drift tests so a new shipped config cannot land without migratableServices coverage.