env

package
v0.0.0-...-91256e5 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// EnvPrefix is the prefix each env var key should have in order to be exposed to the
	// script. The value will be all lowercase letters.
	EnvPrefix = "SONOLARK_"
)

Variables

This section is empty.

Functions

func NewAPI

func NewAPI() starlark.StringDict

NewAPI returns a starlark.StringDict with the "env" module with all the constants derived from env var values of the form: SONOLARK_<name>=<value>. When exposed to the script; it can be invoked by env.<name>

Types

This section is empty.

Jump to

Keyboard shortcuts

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