The highest tagged major version is
v16 .
Discover Packages
gitlab.com/gitlab-org/gitaly/v14
internal
helper
env
package
Version:
v14.10.5
Opens a new window with list of versions in this module.
Published: Jun 30, 2022
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
GetBool fetches and parses a boolean typed environment variable
If the variable is empty, returns `fallback` and no error.
If there is an error, returns `fallback` and the error.
GetDuration fetches and parses a duration typed environment variable
GetInt fetches and parses an integer typed environment variable
If the variable is empty, returns `fallback` and no error.
If there is an error, returns `fallback` and the error.
GetString fetches a given name from the environment and falls back to a
default value if the name is not available. The value is stripped of
leading and trailing whitespace.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.