Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ExpediaGroup/flyte
/ NewConfig
Function
NewConfig
config.go:65–82 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
source not stored for this graph (policy: none)
Callers
15
TestConfigShouldReadFlyteEnvVars
Function · 0.85
TestConfigShouldDefaultMongoHostIfNotSetAsEnvVar
Function · 0.85
TestConfigShouldDefaultPortBasedOnTLSEnabled
Function · 0.85
TestConfigShouldDefaultPortBasedOnTLSDisabled
Function · 0.85
TestConfigShouldSetDefaultTTL
Function · 0.85
TestConfigShouldSetDefaultTTLAndLogOnStringToIntConversionError
Function · 0.85
TestConfigShouldEnableTLSOnlyIfBothKeyAndCertProvided
Function · 0.85
TestConfigShouldEnableAuthIfOIDCIssuerIsProvidedAndPolicyPathIsProvided
Function · 0.85
TestConfigShouldNotEnableAuthIfPolicyPathNotProvided
Function · 0.85
TestConfigShouldNotEnableAuthIfOIDCIssuerUriNotProvided
Function · 0.85
TestConfigShouldNotEnableAuthIfOIDCIssuerConfigIdNotProvided
Function · 0.85
TestConfigShouldSetDefaultForShouldDeleteDeadPacksIfNotSetAsEnvVar
Function · 0.85
Calls
8
getPort
Method · 0.95
getLogLevel
Function · 0.85
getEnvVarWithDefault
Function · 0.85
getPathVar
Function · 0.85
getEnvVar
Function · 0.85
getIntEnvVarWithDefault
Function · 0.85
getBoolEnvVarWithDefault
Function · 0.85
getDeleteDeadPacksTimeEnvVarWithDefault
Function · 0.85
Tested by
15
TestConfigShouldReadFlyteEnvVars
Function · 0.68
TestConfigShouldDefaultMongoHostIfNotSetAsEnvVar
Function · 0.68
TestConfigShouldDefaultPortBasedOnTLSEnabled
Function · 0.68
TestConfigShouldDefaultPortBasedOnTLSDisabled
Function · 0.68
TestConfigShouldSetDefaultTTL
Function · 0.68
TestConfigShouldSetDefaultTTLAndLogOnStringToIntConversionError
Function · 0.68
TestConfigShouldEnableTLSOnlyIfBothKeyAndCertProvided
Function · 0.68
TestConfigShouldEnableAuthIfOIDCIssuerIsProvidedAndPolicyPathIsProvided
Function · 0.68
TestConfigShouldNotEnableAuthIfPolicyPathNotProvided
Function · 0.68
TestConfigShouldNotEnableAuthIfOIDCIssuerUriNotProvided
Function · 0.68
TestConfigShouldNotEnableAuthIfOIDCIssuerConfigIdNotProvided
Function · 0.68
TestConfigShouldSetDefaultForShouldDeleteDeadPacksIfNotSetAsEnvVar
Function · 0.68