runenv

package
v0.182.6 Latest Latest
Warning

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

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

Documentation

Overview

Package runenv assembles governed child environments without ambient state.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Daemon

func Daemon(base, argv []string, additions map[string]string, operationID string, units int, effectiveGOFLAGS string) []string

Daemon applies durable additions before allocation overrides. GOMAXPROCS is governed from the original inherited base, not the durable additions.

func Synchronous

func Synchronous(base, argv []string, operationID string, units int, effectiveGOFLAGS string) []string

Synchronous leaves CPU fields unchanged for an ungoverned command.

func Worker

func Worker(base, argv []string, operationID string, units int, effectiveGOFLAGS string) []string

Worker sets allocation fields even when units is nonpositive.

Types

This section is empty.

Jump to

Keyboard shortcuts

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