<!-- Code generated by gomarkdoc. DO NOT EDIT -->

In Development Package, API may change between versions.

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.

<a name="Reset"></a>

func Reset

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.