envutil

package
v0.14.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const MaxEnvSize = 1024 * 1024

Variables

This section is empty.

Functions

func CopyAndAddToEnvMap added in v0.14.0

func CopyAndAddToEnvMap(envMap map[string]string, key string, val string) map[string]string

func EnvToMap

func EnvToMap(envStr string) map[string]string

func EnvToSlice added in v0.13.0

func EnvToSlice(envStr string) []string

func GetEnv

func GetEnv(envStr string, key string) string

func MapToEnv

func MapToEnv(envMap map[string]string) string

func PruneInitialEnv added in v0.14.0

func PruneInitialEnv(envMap map[string]string) map[string]string

func RmEnv

func RmEnv(envStr string, key string) string

func SetEnv

func SetEnv(envStr string, key string, val string) (string, error)

func SliceToEnv added in v0.13.0

func SliceToEnv(env []string) string

func SliceToMap added in v0.14.0

func SliceToMap(env []string) map[string]string

Types

This section is empty.

Jump to

Keyboard shortcuts

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