⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module plugin

Module plugin 

Source
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§

PluginInstance
A registered plugin instance combining metadata and runtime state.
PluginManager
Registry and manager for package lifecycle plugins.
PluginMetadata
Metadata describing a plugin, including its identity, required capabilities, and the hooks it supports.

Enums§

PluginCapability
Capabilities that a plugin may request in order to perform its work.
PluginHook
Lifecycle hook points at which a plugin can execute.
PluginState
Lifecycle state of a loaded plugin instance.