github.com/blend/go-sdk@v1.20220411.3/env/constants.go (about) 1 /* 2 3 Copyright (c) 2022 - Present. Blend Labs, Inc. All rights reserved 4 Use of this source code is governed by a MIT license that can be found in the LICENSE file. 5 6 */ 7 8 package env 9 10 // Service specific constants 11 const ( 12 // VarRegion is a common env var name. 13 VarRegion = "AWS_REGION" 14 // VarServiceEnv is a common env var name. 15 VarServiceEnv = "SERVICE_ENV" 16 // VarServiceName is a common env var name. 17 VarServiceName = "SERVICE_NAME" 18 // VarProjectName is a common env var name. 19 VarProjectName = "PROJECT_NAME" 20 // VarClusterName is a common env var name. 21 VarClusterName = "CLUSTER_NAME" 22 // VarServiceSecret is a common env var name. 23 VarServiceSecret = "SERVICE_SECRET" 24 // VarPort is a common env var name. 25 VarPort = "PORT" 26 // VarHostname is a common env var name. 27 VarHostname = "HOSTNAME" 28 // VarVersion is a common env var name. 29 VarVersion = "VERSION" 30 // VarGitRef is a common env var name. 31 VarGitRef = "GIT_REF" 32 // VarSecurePort is a common env var name. 33 VarSecurePort = "SECURE_PORT" 34 // VarTLSCertPath is a common env var name. 35 VarTLSCertPath = "TLS_CERT_PATH" 36 // VarTLSKeyPath is a common env var name. 37 VarTLSKeyPath = "TLS_KEY_PATH" 38 // VarTLSCert is a common env var name. 39 VarTLSCert = "TLS_CERT" 40 // VarTLSKey is a common env var name. 41 VarTLSKey = "TLS_KEY" 42 43 // VarPGIdleConns is a common env var name. 44 VarPGIdleConns = "PG_IDLE_CONNS" 45 // VarPGMaxConns is a common env var name. 46 VarPGMaxConns = "PG_MAX_CONNS" 47 48 // ServiceEnvTest is a service environment. 49 ServiceEnvTest = "test" 50 // ServiceEnvSandbox is a service environment. 51 ServiceEnvSandbox = "sandbox" 52 // ServiceEnvDev is a service environment. 53 ServiceEnvDev = "dev" 54 // ServiceEnvCI is a service environment. 55 ServiceEnvCI = "ci" 56 // ServiceEnvPreprod is a service environment. 57 ServiceEnvPreprod = "preprod" 58 // ServiceEnvBeta is a service environment. 59 ServiceEnvBeta = "beta" 60 // ServiceEnvProd is a service environment. 61 ServiceEnvProd = "prod" 62 63 // DefaultServiceEnv is the default service env to use for configs. 64 DefaultServiceEnv = ServiceEnvDev 65 66 // TagName is the reflection tag name. 67 ReflectTagName = "env" 68 )