Expand description
Isolated execution and atomic deployment for NichLink plugins. NichLink 插件的隔离执行与原子部署。
Structs§
- Deployment
- One consistent view of registration metadata and executable code. 注册元数据与可执行代码的一致视图。
- Ed25519
Verifier - Verifies plugin signatures against a fixed set of trusted public keys. 用一组固定可信公钥验证插件签名。
- HotDeployment
- Lock-free reads with serialized, validated replacement. 读取无锁,替换串行校验。
- Process
Backend - Process-isolated plugin loader. 进程隔离插件加载器。
- Process
Instance - A process plugin. Each call gets a fresh child and a hard deadline. 进程插件。每次调用使用独立子进程和硬超时。
- Process
Limits - Limits for one isolated process call. 单次隔离进程调用的限制。
- Process
Program - Executable and fixed arguments for an isolated plugin. 隔离插件使用的程序和固定参数。
- Trusted
Public Key - One public key the host will trust, named by its SHA-256 fingerprint. 宿主愿意信任的一个公钥,以它的 SHA-256 指纹命名。
- Wasm
Backend - Loads Wasm without WASI or host imports. 在没有 WASI 和宿主导入的环境中加载 Wasm。
- Wasm
Instance - A loaded, fuel-metered Wasm plugin. 已加载并启用燃料计量的 Wasm 插件。
- Wasm
Limits - Resource budget applied to every Wasm call. 每次 Wasm 调用使用的资源预算。
- Wasm
Plugin Slot - A release-time opening for one Wasm extension or replacement. 正式发布时保留的一个 Wasm 扩展或替换入口。
- Wasm
Plugin Table - Lazily activates verified Wasm plugins in explicitly retained slots. 仅在显式保留的槽中懒加载已验证 Wasm 插件。
Enums§
- Host
Error - Failure returned at the plugin-host seam. 插件宿主接口返回的失败。
- Validation
Channel - Trust lane enabled for one runtime plugin slot. 运行时插件槽允许使用的信任通道。
Traits§
- Plugin
Instance - One callable plugin implementation. 一个可调用的插件实现。