Documentation
¶
Overview ¶
Package namespaces on macOS is a no-op stub because Darwin does not expose Linux-style unshare/clone() flags, pivot_root, or persistent user namespace state. ModeNative is the only execution mode available on macOS, so this package's surface area is kept minimal.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsRootless ¶
func IsRootless() bool
IsRootless always reports true on macOS because users do not normally run Doki as root on a desktop.
Types ¶
type Config ¶
Config mirrors the Linux configuration type. Fields are documented but unused on macOS.
type Manager ¶
type Manager struct{}
Manager is a no-op stand-in for the Linux Manager on darwin builds.
func NewManager ¶
NewManager returns a stub manager. No setup work happens because macOS does not support Linux user namespaces.
func (*Manager) DeletePersistentNamespace ¶
DeletePersistentNamespace is not supported on macOS.