Class: Backup::Tasks::Registry
- Inherits:
-
Task
- Object
- Task
- Backup::Tasks::Registry
show all
- Defined in:
- lib/backup/tasks/registry.rb
Instance Attribute Summary
Attributes inherited from Task
#options, #progress
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Task
#backup!, #cleanup_path, #destination_optional, #enabled?, #id, #initialize, #post_restore_warning, #pre_restore_warning, #restore!
Class Method Details
.id ⇒ Object
6
|
# File 'lib/backup/tasks/registry.rb', line 6
def self.id = 'registry'
|
Instance Method Details
#destination_path ⇒ Object
12
|
# File 'lib/backup/tasks/registry.rb', line 12
def destination_path = 'registry.tar.gz'
|
#enabled ⇒ Object
8
|
# File 'lib/backup/tasks/registry.rb', line 8
def enabled = Gitlab.config.registry.enabled
|
#human_name ⇒ Object
10
|
# File 'lib/backup/tasks/registry.rb', line 10
def human_name = _('container registry images')
|