/////////////////////////////////////////////////////////////////////////////
// Parse environment variables.  Process any that have the "SCSD_" prefix
// and set operating parameters with their values.
//
// Args, Return: None.
/////////////////////////////////////////////////////////////////////////////
Parse environment variables.  Process any that have the "SCSD_" prefix
and set operating parameters with their values.

Args, Return: None.
///////////////////////////////////////////////////////////////////////////// // Parse environment variables . Process any that have the " SCSD_ " prefix // and set operating parameters with their values . // // Args Return : None . /////////////////////////////////////////////////////////////////////////////
func parseEnvVars() {
	__env_parse_string("SCSD_HTTP_LISTEN_PORT", &appParams.HTTPListenPort)
	__env_parse_int("SCSD_HTTP_RETRIES", &appParams.HTTPRetries)
	__env_parse_int("SCSD_HTTP_TIMEOUT", &appParams.HTTPTimeout)
	__env_parse_string("SCSD_UUID", &appParams.UUID)
	__env_parse_string("SCSD_LOG_LEVEL", &appParams.LogLevel)
	__env_parse_bool("SCSD_LOCAL_MODE", &appParams.LocalMode)
	__env_parse_string("SCSD_KAFKA_URL", &appParams.KafkaURL)
	__env_parse_string("SCSD_SMD_URL", &appParams.SmdURL)
	__env_parse_bool("SCSD_DEFAULT_HTTP", &dfltHTTP)
	__env_parse_string("SCSD_CA_URI", &caURI)
	__env_parse_string("SCSD_VAULT_CA_URL", &vaultCAURL)
	__env_parse_string("SCSD_VAULT_PKI_URL", &vaultPKIURL)
	var ve bool
	__env_parse_string("VAULT_KEYPATH", &VaultKeypath)
	veseen := __env_parse_bool("VAULT_ENABLE", &ve)
	if veseen {
		appParams.VaultEnable = &ve
	}
	__env_parse_string("SCSD_TEST_K8S_AUTH_URL", &test_k8sAuthUrl)
	__env_parse_string("SCSD_TEST_VAULT_JWT_FILE", &test_vaultJWTFile)
	__env_parse_string("SCSD_TEST_VAULT_PKI_URL", &test_vaultPKIUrl)
	__env_parse_string("SCSD_TEST_VAULT_CA_URL", &test_vaultCAUrl)
}
func parseEnvVars ( ) { __env_parse_string ( " " , & appParams . HTTPListenPort ) __env_parse_int ( " " , & appParams . HTTPRetries ) __env_parse_int ( " " , & appParams . HTTPTimeout ) __env_parse_string ( " " , & appParams . UUID ) __env_parse_string ( " " , & appParams . LogLevel ) __env_parse_bool ( " " , & appParams . LocalMode ) __env_parse_string ( " " , & appParams . KafkaURL ) __env_parse_string ( " " , & appParams . SmdURL ) __env_parse_bool ( " " , & dfltHTTP ) __env_parse_string ( " " , & caURI ) __env_parse_string ( " " , & vaultCAURL ) __env_parse_string ( " " , & vaultPKIURL ) var ve bool __env_parse_string ( " " , & VaultKeypath ) veseen := __env_parse_bool ( " " , & ve ) if veseen { appParams . VaultEnable = & ve } __env_parse_string ( " " , & test_k8sAuthUrl ) __env_parse_string ( " " , & test_vaultJWTFile ) __env_parse_string ( " " , & test_vaultPKIUrl ) __env_parse_string ( " " , & test_vaultCAUrl ) }
Parse environment variables.
Parse environment variables .
//These env vars are for vault and need to be named without SCSD_ //since libraries use them too. //If testing in off-line mode, the following env vars will need to be set: //  CRAY_VAULT_JWT_FILE    # e.g. /tmp/k8stoken //  CRAY_VAULT_ROLE_FILE   # e.g. also /tmp/k8stoken //The following are used only for testing