Versions in this module Expand all Collapse all v0 v0.2.1 Feb 2, 2026 Changes in this version + func IsBwrapAvailable() bool + type BwrapRuntime struct + func New(config *Config) *BwrapRuntime + func (r *BwrapRuntime) Create(ctx context.Context, config *rt.SandboxConfig) (*types.Sandbox, error) + func (r *BwrapRuntime) CreateSession(ctx context.Context, sandboxID string, config *types.SessionConfig) (*types.Session, error) + func (r *BwrapRuntime) Destroy(ctx context.Context, sandboxID string) error + func (r *BwrapRuntime) DestroySession(ctx context.Context, sessionID string) error + func (r *BwrapRuntime) Exec(ctx context.Context, sandboxID string, req *types.ExecRequest) (*types.ExecResult, error) + func (r *BwrapRuntime) ExecStream(ctx context.Context, sandboxID string, req *types.ExecRequest, ...) error + func (r *BwrapRuntime) Get(ctx context.Context, sandboxID string) (*types.Sandbox, error) + func (r *BwrapRuntime) GetSession(ctx context.Context, sessionID string) (*types.Session, error) + func (r *BwrapRuntime) List(ctx context.Context) ([]*types.Sandbox, error) + func (r *BwrapRuntime) ListSessions(ctx context.Context, sandboxID string) ([]*types.Session, error) + func (r *BwrapRuntime) Name() string + func (r *BwrapRuntime) SessionExec(ctx context.Context, sessionID string, req *types.SessionExecRequest) (*types.ExecResult, error) + func (r *BwrapRuntime) SessionExecStream(ctx context.Context, sessionID string, req *types.SessionExecRequest, ...) error + func (r *BwrapRuntime) Start(ctx context.Context, sandboxID string) error + func (r *BwrapRuntime) Stop(ctx context.Context, sandboxID string) error + type Config struct + BwrapPath string + DefaultTimeout time.Duration + EnableNetworking bool + FUSEMountBase string + WorkDir string + func DefaultConfig() *Config