Package wisp. deployment
Types
Link copied to clipboard
Link copied to clipboard
For information about the deployment location.
Link copied to clipboard
class EnvironmentVariableDeploymentLocation(environmentVariableName: String, environmentVariableLoader: EnvironmentVariableLoader) : DeploymentLocation
Content copied to clipboard
Provides a deployment location id from the environment variable value.
Link copied to clipboard
Loads an environment variable value.
Link copied to clipboard
Functions
Link copied to clipboard
fun getDeploymentFromEnvironmentVariable(defaultDeployment: Deployment = DEVELOPMENT, environmentVariableLoader: EnvironmentVariableLoader = EnvironmentVariableLoader.real): Deployment
Content copied to clipboard
Determines a Deployment based on the value within the ENVIRONMENT variable, defaulting to local development if not set (i.e. isLocalDevelopment == true)