Documentation
¶
Overview ¶
Package embedded provides embedded files for the installer.
Index ¶
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 DDOTProcessConfig string
DDOTProcessConfig is the rendered process manager config for DDOT (deb/rpm layout).
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 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 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.
Functions ¶
func GetSystemdUnit ¶ added in v0.68.0
func GetSystemdUnit(name string, unitType SystemdUnitType, ambiantCapabilitiesSupported bool) ([]byte, error)
GetSystemdUnit returns the systemd unit for the given name.
Types ¶
type SystemdUnitType ¶ added in v0.68.0
type SystemdUnitType string
SystemdUnitType is the type of systemd unit.
const ( // SystemdUnitTypeOCI is the type of systemd unit for OCI. SystemdUnitTypeOCI SystemdUnitType = "oci" // SystemdUnitTypeDebRpm is the type of systemd unit for deb/rpm. SystemdUnitTypeDebRpm SystemdUnitType = "debrpm" )