import "github.com/egdaemon/eg/runtime/x/wasi/egcache"
Package egcache provides utilities for managing and resetting caches related to the 'eg' runtime environment, including its internal caches and associated containerization resources managed by Podman.
The primary function, Reset, offers a comprehensive cleanup operation designed to clear various cached data, ensuring a clean state for workloads.
func Reset(ctx context.Context, op eg.Op) error
reset all eg caches to empty. since it'll destroy the cache this operation should only be run at the end of a workload, and usually just by itself.
func ResetContainers(ctx context.Context, op eg.Op) error
ResetContainers clears the podman container/image cache without touching the eg cache directory.