Expand description
Filesystem layout for the host-side registry cache.
Ported from internal/registrycache/paths.go.
Enums§
- Path
Error - Errors from resolving registry-cache paths.
Functions§
- config_
path - Returns the absolute path of the generated zot config JSON.
- data_
dir - Returns the directory where zot stores cached blobs and manifests.
- global_
dir - Returns the global registry-cache directory:
~/.local/share/ xianyun/registry/, unless that doesn’t exist yet AND~/.local/ share/caproni/registry/(the pre-rename path) does, in which case the existing caproni-path directory is used instead of starting a fresh, empty one and orphaning the existing cache state. - log_
path - Returns the absolute path of the zot stdout/stderr log file.
- pid_
path - Returns the absolute path of the PID file for the zot process.
- ref_
path - Returns the absolute path of the ref marker file for the given profile.
- refs_
dir - Returns the directory containing per-profile ref marker files.