summaryrefslogtreecommitdiff
path: root/pkg/cache/cache.go
diff options
context:
space:
mode:
authorIshita Sequeira <46771830+ishitasequeira@users.noreply.github.com>2024-12-19 19:51:50 +0530
committerGitHub <noreply@github.com>2024-12-19 09:21:50 -0500
commit736f12f55a73d17dbedc040b4f559a2cd33bbff4 (patch)
treed7e31aba857641a20da7bffa5d9c29e3c5c230e4 /pkg/cache/cache.go
parent03203db49b047f03a8e99b26ef8554942c2513d6 (diff)
Update references of cache, env, health to use modules from registry-scanner (#972)
Signed-off-by: Ishita Sequeira <ishiseq29@gmail.com>
Diffstat (limited to 'pkg/cache/cache.go')
-rw-r--r--pkg/cache/cache.go20
1 files changed, 0 insertions, 20 deletions
diff --git a/pkg/cache/cache.go b/pkg/cache/cache.go
deleted file mode 100644
index e59400c..0000000
--- a/pkg/cache/cache.go
+++ /dev/null
@@ -1,20 +0,0 @@
-package cache
-
-import (
- "github.com/argoproj-labs/argocd-image-updater/registry-scanner/pkg/tag"
-)
-
-type ImageTagCache interface {
- HasTag(imageName string, imageTag string) bool
- GetTag(imageName string, imageTag string) (*tag.ImageTag, error)
- SetTag(imageName string, imgTag *tag.ImageTag)
- ClearCache()
- NumEntries() int
-}
-
-// KnownImage represents a known image and the applications using it, without
-// any version/tag information.
-type KnownImage struct {
- ImageName string
- Applications []string
-}