Class: Gitlab::GithubImport::Importer::LfsObjectsImporter
- Inherits:
-
Object
- Object
- Gitlab::GithubImport::Importer::LfsObjectsImporter
show all
- Includes:
- ParallelScheduling
- Defined in:
- lib/gitlab/github_import/importer/lfs_objects_importer.rb
Constant Summary
ParallelScheduling::ALREADY_IMPORTED_CACHE_KEY
Instance Attribute Summary
#already_imported_cache_key, #client, #page_counter, #project
Instance Method Summary
collapse
#abort_on_failure, #already_imported?, #collection_options, #execute, #id_for_already_imported_cache, #initialize, #mark_as_imported, #parallel?, #parallel_import, #parallel_import_batch, #parallel_import_deprecated, #sequential_import, #spread_parallel_import
Instance Method Details
#collection_method ⇒ Object
25
26
27
|
# File 'lib/gitlab/github_import/importer/lfs_objects_importer.rb', line 25
def collection_method
:lfs_objects
end
|
#each_object_to_import ⇒ Object
#importer_class ⇒ Object
9
10
11
|
# File 'lib/gitlab/github_import/importer/lfs_objects_importer.rb', line 9
def importer_class
LfsObjectImporter
end
|
#object_type ⇒ Object
21
22
23
|
# File 'lib/gitlab/github_import/importer/lfs_objects_importer.rb', line 21
def object_type
:lfs_object
end
|
#representation_class ⇒ Object
13
14
15
|
# File 'lib/gitlab/github_import/importer/lfs_objects_importer.rb', line 13
def representation_class
Representation::LfsObject
end
|
#sidekiq_worker_class ⇒ Object
17
18
19
|
# File 'lib/gitlab/github_import/importer/lfs_objects_importer.rb', line 17
def sidekiq_worker_class
ImportLfsObjectWorker
end
|