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 reports that the workload helper is Linux-only.
func ServerTLSConfig ¶ added in v0.0.52
ServerTLSConfig returns a mutual TLS configuration presenting the key pair in certDir and admitting only clients that chain to the CA bundle in trustDir and carry its client URI. The trust directory is reread for every handshake.
Types ¶
type CommandSupervisor ¶ added in v0.0.52
type CommandSupervisor struct{}
CommandSupervisor refuses every command off Linux.
func NewCommandSupervisor ¶ added in v0.0.52
func NewCommandSupervisor([]string, []string, string) *CommandSupervisor
NewCommandSupervisor returns a supervisor that refuses every command.
func (*CommandSupervisor) ReapOrphans ¶ added in v0.0.52
func (*CommandSupervisor) ReapOrphans(ctx context.Context, _ time.Duration)
ReapOrphans returns when ctx ends.
type Executor ¶
type Executor struct {
// contains filtered or unexported fields
}
Executor serves one credential-free workload-helper process.
func (*Executor) Execute ¶
func (e *Executor) Execute(ctx context.Context, q executionenv.ExecutorRequest) (executionenv.ExecutorResponse, error)
Execute performs one bounded executor operation.