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

container_registry_helper.rb « helpers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 255b818316469f02da559dd768ffec2d116c7680 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module ContainerRegistryHelper
  def container_registry_expiration_policies_throttling?
    Feature.enabled?(:container_registry_expiration_policies_throttling, default_enabled: :yaml)
  end

  def container_repository_gid_prefix
    "gid://#{GlobalID.app}/#{ContainerRepository.name}/"
  end
end