Class: Ci::InstanceVariable

Inherits:
ApplicationRecord show all
Extended by:
Gitlab::Ci::Model, Gitlab::ProcessMemoryCache::Helper
Includes:
Maskable, NewHasVariable, Limitable
Defined in:
app/models/ci/instance_variable.rb

Constant Summary

Constants included from Limitable

Limitable::GLOBAL_SCOPE

Constants included from Maskable

Maskable::REGEX

Class Method Summary collapse

Methods included from Gitlab::ProcessMemoryCache::Helper

fetch_memory_cache, invalidate_memory_cache

Methods included from Gitlab::Ci::Model

model_name, table_name_prefix

Methods included from Maskable

#to_runner_variable

Methods included from HasVariable

#to_runner_variable

Methods inherited from ApplicationRecord

at_most, id_in, id_not_in, iid_in, pluck_primary_key, primary_key_in, safe_ensure_unique, safe_find_or_create_by, safe_find_or_create_by!, underscore, without_order

Class Method Details

.all_cachedObject


32
33
34
# File 'app/models/ci/instance_variable.rb', line 32

def all_cached
  cached_data[:all]
end

.unprotected_cachedObject


36
37
38
# File 'app/models/ci/instance_variable.rb', line 36

def unprotected_cached
  cached_data[:unprotected]
end