diff options
Diffstat (limited to 'pkg/cache/cache.go')
| -rw-r--r-- | pkg/cache/cache.go | 20 |
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 -} |
