Documentation
¶
Overview ¶
Package none provides a no-op sandbox backend that runs commands directly on the host with the same permissions as the current user and no isolation. Use only when agent workloads are fully trusted.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory() sandboxpkg.Factory
NewFactory returns a Factory for the none backend.
Types ¶
type Factory ¶
type Factory struct{}
Factory creates sessions that execute directly on the host with no sandboxing.
func (*Factory) CreateSession ¶
func (f *Factory) CreateSession(_ context.Context, policy sandboxpkg.Policy) (sandboxpkg.Session, error)
CreateSession creates a new noneSession.
Click to show internal directories.
Click to hide internal directories.