Skip to main content

Module apply

Module apply 

Source

Structs§

AppliedProxy
In-memory rollback guard for compatibility --sys.
ApplyPlan
Plan for applying system proxy settings.
Command
A structured system command. Programs and arguments are kept separate so that callers can pass them directly to Command::new(program).args(args) without relying on shell-style splitting, which would mishandle names containing spaces (e.g. Windows registry keys, macOS network services).
RollbackState
Rollback state saved before applying proxy changes.

Enums§

CompatibilityProxyKind

Functions§

apply_compatibility_proxy
Apply the compatibility system proxy using the platform backend and keep all rollback state in memory. This is deliberately separate from native eggress system-proxy inspection and from user-authored configuration.
apply_compatibility_proxy_with_runner
create_rollback
Create a rollback state from current settings.
execute_apply
Execute an apply plan using the provided command runner.
generate_revert_commands
Generate revert commands from rollback state.
plan_apply
Create an apply plan without executing it (dry-run).