Skip to main content

Module sandbox

Module sandbox 

Source
Expand description

沙箱模块

提供进程隔离、文件系统沙箱、网络沙箱等功能

Structs§

ExecutorOptions
执行选项
ExecutorResult
执行结果
FilesystemPolicy
文件系统策略
FilesystemSandbox
文件系统沙箱
PathRule
路径规则
ResourceLimiter
资源限制器
ResourceLimits
资源限制
ResourceUsage
资源使用情况
SandboxConfig
沙箱配置
SandboxConfigManager
沙箱配置管理器
SandboxExecutor
沙箱执行器

Enums§

SandboxPreset
沙箱预设类型

Statics§

SANDBOX_PRESETS
预设配置集合

Functions§

detect_best_sandbox
检测最佳沙箱类型
execute_in_sandbox
在沙箱中执行命令
get_sandbox_capabilities
获取沙箱能力