Skip to main content

asdf

Parameters

Configuration of the cache for go-install operations.

OperationTypeDescription
versions_expiredurationHow long to cache a given versions that can be used for a given go import path for. This allows to avoid listing available versions on each omni up call. The versions are automatically re-listed if the cache does not contain any matching version.
versions_retentiondurationHow long to keep the cached list of versions around even after the tool is no longer installed; this is calculated from the last time the versions were fetched.
cleanup_afterdurationThe grace period before cleaning up the resources that are no longer needed.

Example

cache:
go_install:
versions_expire: 1d
cleanup_after: 1w