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

registry.rb « backup « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7ba3a9e9c6057a5355c004e621692bf7fe102a41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# frozen_string_literal: true

module Backup
  class Registry < Backup::Files
    attr_reader :progress

    def initialize(progress)
      @progress = progress

      super('registry', Settings.registry.path)
    end

    def human_name
      _('container registry images')
    end

    def enabled
      Gitlab.config.registry.enabled
    end
  end
end