Skip to main content

Module config

Module config 

Source

Structs§

BaseConfig
Base configuration with optional fields grouped by pipeline stage.
CustomDetector
A custom detector that can be plugged into the detection pipeline.
Hooks
Lifecycle hooks for the update pipeline.
PackageInfo
Package metadata (name and version).
PlanResolverContext
Context passed to a custom plan resolver.
ResolvedConfig
Fully resolved and validated configuration.

Enums§

UpdateKitConfig
Top-level configuration for UpdateKit.
VersionSourceConfig
Configuration for a version source.

Type Aliases§

AfterApplyHook
Async hook called after applying an update.
BeforeApplyHook
Async hook called before applying an update. Returns Ok(true) to proceed, Ok(false) to abort.
BeforeCheckHook
Async hook that takes no arguments and returns Result<(), UpdateKitError>.
CustomPlanResolver
Type alias for a custom plan resolver function.
DetectFn
Async function type for custom detection.
OnErrorHook
Synchronous error handler hook.