feat: control systemd Docker daemon target

This commit is contained in:
proxyctl coordinator
2026-07-17 03:24:52 +08:00
parent 3003450dce
commit be3bbbbe04
11 changed files with 919 additions and 25 deletions
+4 -3
View File
@@ -183,9 +183,10 @@ func (a *Adapter) Availability(context.Context) target.Availability {
return target.Availability{Evidence: "Shell Target requires Bash or Zsh; neither was detected"}
}
}
func (a *Adapter) EnvironmentPath() string { return a.configuration.EnvironmentFile }
func (a *Adapter) RecoveryPath() string { return a.configuration.RecoveryFile }
func (a *Adapter) StartupPath() string { return a.configuration.StartupFile }
func (a *Adapter) Confirmation(bool) string { return "" }
func (a *Adapter) EnvironmentPath() string { return a.configuration.EnvironmentFile }
func (a *Adapter) RecoveryPath() string { return a.configuration.RecoveryFile }
func (a *Adapter) StartupPath() string { return a.configuration.StartupFile }
func (a *Adapter) Inspect(_ context.Context, active *profile.Profile) target.Inspection {
metadata, managed, metadataErr := a.readRecovery()