fn run_lua_scan(
script_path: &Path,
extra: &Table,
name: &str,
timeout_secs: u64,
) -> Result<Vec<SourceItem>>Expand description
Execute a Lua connector script and return the resulting source items.
This function runs synchronously on a blocking thread. It:
- Creates a sandboxed Lua VM via
crate::lua_runtime - Loads and executes the script
- Calls
connector.scan(config) - Converts the returned Lua table to
Vec<SourceItem>