package
0.0.0-20240927112642-46fab6f3783d
Repository: https://github.com/eiffel-community/etos-api.git
Documentation: pkg.go.dev
# Functions
EnvOrDefault will look up key in environment variables and return if it exists, else return the fallback value.
Get creates a config interface based on input parameters or environment variables.
ReadNamespaceOrEnv checks if there's a nemspace file inside the container, else returns environment variable with envKey as name.
# Interfaces
Config interface for retreiving configuration options.