package
1.45.2
Repository: https://github.com/armory-io/go-commons.git
Documentation: pkg.go.dev

# Functions

GetApplicationLoggingLevel returns the logging type env var if set.
GetApplicationLoggingType returns the logging type env var if set.
GetApplicationName returns the value of the ARMORY_APPLICATION_NAME env var else it defaults to empty string.
GetApplicationVersion returns the value of ARMORY_APPLICATION_VERSION or else defaults to "unset".
GetDeploymentId Fetches the armory deployment id, if set.
GetEnvironmentName returns the value of the ARMORY_ENVIRONMENT_NAME env var if present else it defaults to local.
GetEnvVarOrDefault looks up an env var by its key and returns the value it's non-empty else the default is returned.
GetReplicaSetName returns the value of the ARMORY_REPLICA_SET_NAME env var if present else an empty string.

# Constants

No description provided by the author
No description provided by the author