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

env

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package env implements the environment-variable credential Source: it resolves a Ref to a configured environment variable name and reads its value via os.Getenv. It is the backend subpackage of clients/secrets, selected by KindEnv. It is read-only — Put returns a coded error — because environment variables are set out-of-band (the shell, the container spec, the CI secret store), never written by the process.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(vars map[types.Ref]string) interfaces.Source

New builds an environment-variable Source over the given Ref→variable-name mapping.

Types

This section is empty.

Jump to

Keyboard shortcuts

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