Class: Gitlab::Cleanup::RemoteArtifacts

Inherits:
RemoteObjectStorage show all
Extended by:
Utils::Override
Defined in:
lib/gitlab/cleanup/remote_artifacts.rb

Constant Summary

Constants inherited from RemoteObjectStorage

Gitlab::Cleanup::RemoteObjectStorage::BATCH_SIZE

Instance Attribute Summary

Attributes inherited from RemoteObjectStorage

#logger, #model_class, #storage_location_identifier

Instance Method Summary collapse

Methods included from Utils::Override

extended, extensions, included, method_added, override, prepended, queue_verification, verify!

Methods inherited from RemoteObjectStorage

#run!

Methods included from ObjectStorage::FogHelpers

#available?

Constructor Details

#initialize(logger: nil) ⇒ RemoteArtifacts

Returns a new instance of RemoteArtifacts.



8
9
10
# File 'lib/gitlab/cleanup/remote_artifacts.rb', line 8

def initialize(logger: nil)
  super(:artifacts, ::Ci::JobArtifact, logger: logger)
end