@@ -38,9 +38,9 @@ type cacheOps interface {
3838 ListCaches () []configuration.Cache
3939}
4040
41- // Save saves caches based on the provided configuration and logs results as
41+ // RunSave saves caches based on the provided configuration and logs results as
4242// each cache is processed.
43- func Save (ctx context.Context , l logger.Logger , apiClient * api.Client , cfg Config ) error {
43+ func RunSave (ctx context.Context , l logger.Logger , apiClient * api.Client , cfg Config ) error {
4444 c , cacheIDs , err := newClient (l , apiClient , cfg )
4545 if err != nil {
4646 return err
@@ -52,9 +52,9 @@ func Save(ctx context.Context, l logger.Logger, apiClient *api.Client, cfg Confi
5252 return saveWithClient (ctx , l , c , cacheIDs , cfg .Concurrency )
5353}
5454
55- // Restore restores caches based on the provided configuration and logs results
55+ // RunRestore restores caches based on the provided configuration and logs results
5656// as each cache is processed.
57- func Restore (ctx context.Context , l logger.Logger , apiClient * api.Client , cfg Config ) error {
57+ func RunRestore (ctx context.Context , l logger.Logger , apiClient * api.Client , cfg Config ) error {
5858 c , cacheIDs , err := newClient (l , apiClient , cfg )
5959 if err != nil {
6060 return err
0 commit comments