Documentation
¶
Overview ¶
Package cache implements a live check that verifies the CLI cache directory is available and writable.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheStatus ¶
CacheStatus is the outcome of the cache directory check.
func Check ¶
func Check(invocationCtx workflow.InvocationContext) CacheStatus
Check verifies that the configured cache directory exists and is writable by creating (and immediately removing) a temporary file inside it.
func (CacheStatus) Findings ¶
func (c CacheStatus) Findings() []diagnosis.Finding
Findings maps the cache status into the generic Finding contract.
Click to show internal directories.
Click to hide internal directories.