Documentation
¶
Overview ¶
Package scriptenv is what a managed script reads of the application environment its run executes in (#2696): platform.env("NAME"), one of the application's variables for that environment, and platform.environment(), the environment's name. A script no application holds reads None from both.
Index ¶
Constants ¶
View Source
const ( // CapabilityEnv reads one of the application's variables for the run's // environment: its value, or default (None) when it is not set. A value // holding {{secret:<name>}} is read as written; the platform fills the // stored secret when a request carrying it is sent through a connection // the secret allows, so the script never holds the secret. CapabilityEnv = "platform.env" // CapabilityEnvironment is the name of the environment the run executes // in, None for a script no application holds. CapabilityEnvironment = "platform.environment" )
Variables ¶
This section is empty.
Functions ¶
func Environment ¶
Environment is platform.environment() naming environment.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.