Expand description
Home-managed plugin installs, deletes and their status reports (Go internal/homeplugins and internal/home/plugin_status.go).
Home either resolves the plugins to install (plugin-sync, with short-lived store
credentials) or, on Homes without plugin sync, leaves the node to install the
store manifests in its plugin configs. Every outcome becomes a SyncReport that
the node pushes to Home’s plugin-status list.
Structs§
- Platform
- Go
homeplugins.Platform. - Plugin
Install Status - Go
homeplugins.PluginInstallStatus. - Sync
Config - The parts of a config a sync reads (Go’s
cfg.Pluginsandcfg.ProxyURL). - Sync
Report - Go
homeplugins.SyncReport.
Traits§
- Plugin
Runtime - What the plugin host tells a sync (Go
PluginRuntimeandPluginLoadInspector).
Functions§
- completed_
sync_ report - Go
CompletedSyncReport: a finished report for an outcome before any install. - current_
platform - Go
CurrentPlatform. - delete_
with_ report - Go
DeleteWithReport: removes every file of the plugin for this platform, unloading it first when it is busy. - installed_
versions - Go
InstalledVersions: the selected file’s version of every configured plugin. - mark_
load_ results - Go
MarkLoadResults: moves the report to the load phase, failing it for every installed plugin the host did not register. An earlier sync error is kept. - normalize_
platform - Go
NormalizePlatform. - report_
plugin_ status - Go
home.ReportPluginStatus: stamps the node and time onreportand pushes it withpush(GoRPushPluginStatus) within ten seconds. - sync_
platform_ with_ report - Go
SyncPlatformWithReport. - sync_
resolved_ with_ report - Go
SyncResolvedWithReport: installs the plugins Home resolved, with the store credentials it sent for them untilexpires_at. Installed plugins Home left out are reported as skipped. - sync_
with_ report - Go
SyncWithReport: installs each enabled plugin’sstoremanifest for this platform (Homes without plugin sync).