Expand description
Package Plugin System for VeridianOS
Defines the contract for package lifecycle hooks. Plugins can register for specific lifecycle events (install, remove, update, etc.) and declare the capabilities they require.
NOTE: Actual ELF dynamic loading of plugin code is deferred to user-space. This module defines the type-safe contract, state machine, and plugin registry that the kernel uses to manage plugin metadata.
Structs§
- Plugin
Instance - A registered plugin instance combining metadata and runtime state.
- Plugin
Manager - Registry and manager for package lifecycle plugins.
- Plugin
Metadata - Metadata describing a plugin, including its identity, required capabilities, and the hooks it supports.
Enums§
- Plugin
Capability - Capabilities that a plugin may request in order to perform its work.
- Plugin
Hook - Lifecycle hook points at which a plugin can execute.
- Plugin
State - Lifecycle state of a loaded plugin instance.