AppManager: cache helm charts and container images to local registry
Caching container images is disabled until we figure out how to run
container registry behind TLS.
Change-Id: I0253f2a862e5adddff18a82b102f67258151c070
diff --git a/core/installer/soft/repoio.go b/core/installer/soft/repoio.go
index b916d24..b50bcaa 100644
--- a/core/installer/soft/repoio.go
+++ b/core/installer/soft/repoio.go
@@ -30,6 +30,7 @@
Writer(path string) (io.WriteCloser, error)
CreateDir(path string) error
RemoveDir(path string) error
+ ListDir(path string) ([]os.FileInfo, error)
}
type DoFn func(r RepoFS) (string, error)
@@ -120,6 +121,10 @@
return nil
}
+func (r *repoFS) ListDir(path string) ([]os.FileInfo, error) {
+ return r.fs.ReadDir(path)
+}
+
type repoIO struct {
*repoFS
repo *Repository