Add device agent library

Provide enrollment, elevated install, posture checks, keystore, and
system-tray helpers shared by the probo-agent binary.

Signed-off-by: Ludovic Vielle <ludovic@probo.com>
This commit is contained in:
Ludovic Vielle
2026-07-14 20:40:05 +02:00
parent e767dd8377
commit b442e1ed76
44 changed files with 2814 additions and 88 deletions

View File

@@ -27,3 +27,9 @@ package deviceagent
func DefaultConfigDir() string {
return "/var/lib/probo-agent"
}
// DefaultEnrollmentRunDir returns the runtime directory for the public
// enrollment marker on non-Windows hosts.
func DefaultEnrollmentRunDir() string {
return "/var/run/probo-agent"
}