Add support for local outbound connections in sandbox configuration

This commit is contained in:
JY Tan
2025-12-22 15:55:01 -08:00
parent 10c571e7d9
commit b98b640f5a
4 changed files with 30 additions and 1 deletions

View File

@@ -3,9 +3,15 @@ package fence
import (
"github.com/Use-Tusk/fence/internal/config"
"github.com/Use-Tusk/fence/internal/platform"
"github.com/Use-Tusk/fence/internal/sandbox"
)
// IsSupported returns true if the current platform supports sandboxing (macOS/Linux).
func IsSupported() bool {
return platform.IsSupported()
}
// Config is the configuration for fence.
type Config = config.Config