Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/container_registry/referrer.rb')
-rw-r--r--lib/container_registry/referrer.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/container_registry/referrer.rb b/lib/container_registry/referrer.rb
new file mode 100644
index 00000000000..e61899b3a1b
--- /dev/null
+++ b/lib/container_registry/referrer.rb
@@ -0,0 +1,13 @@
+# frozen_string_literal: true
+
+module ContainerRegistry
+ class Referrer
+ attr_reader :artifact_type, :digest, :tag
+
+ def initialize(artifact_type, digest, tag)
+ @artifact_type = artifact_type
+ @digest = digest
+ @tag = tag
+ end
+ end
+end