From 736f12f55a73d17dbedc040b4f559a2cd33bbff4 Mon Sep 17 00:00:00 2001 From: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com> Date: Thu, 19 Dec 2024 19:51:50 +0530 Subject: Update references of cache, env, health to use modules from registry-scanner (#972) Signed-off-by: Ishita Sequeira --- pkg/cache/cache.go | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 pkg/cache/cache.go (limited to 'pkg/cache/cache.go') 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 -} -- cgit v1.2.3