Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultMaxMemory = 64 * 1024 * 1024 // 64MB DefaultMaxExecTime = 30 * time.Second )
Variables ¶
View Source
var ErrResourceLimitsExceeded = errors.New("plugin exceeded resource limits")
Functions ¶
This section is empty.
Types ¶
type ExecutionResult ¶
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
func NewRuntime ¶
func NewRuntime(ctx context.Context, config RuntimeConfig) (Runtime, error)
func (Runtime) Config ¶
func (r Runtime) Config() RuntimeConfig
func (Runtime) ExecuteFunc ¶
func (Runtime) GetVersion ¶
Click to show internal directories.
Click to hide internal directories.