Help us shape the future of Go! Take the 2026 Go Developer Survey

executionexecutor

package
v0.0.48 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package executionexecutor is the fixed, credential-free workload helper.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnableCommandExecution

func EnableCommandExecution() error

EnableCommandExecution makes this process a Linux child subreaper. It must be called by the dedicated executor helper before it starts any other process.

Types

type Executor

type Executor struct {
	// contains filtered or unexported fields
}

Executor serves one credential-free workload-helper process.

func New

func New(root string, limits Limits) (*Executor, error)

New constructs an executor confined to root.

func (*Executor) Close

func (*Executor) Close() error

Close releases executor resources.

func (*Executor) Execute

Execute performs one bounded executor operation.

type Limits

type Limits struct {
	MaxFileBytes   int
	MaxEntries     int
	CommandTimeout time.Duration
}

Limits bounds one executor operation.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL