Documentation
¶
Overview ¶
Package inproc implements the TierInProc sandbox (trusted, direct execution).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InProc ¶
type InProc struct{}
InProc is a sandbox that executes functions directly within the process (TierInProc). This tier is trusted and suitable for functions that do not need isolation.
func (*InProc) Run ¶
func (ip *InProc) Run(ctx context.Context, spec runtime.SandboxSpec) (runtime.SandboxResult, error)
Run executes the given function directly with the input. It does not enforce any resource limits (fs, memory).
Click to show internal directories.
Click to hide internal directories.