Class: Ci::InstanceVariable

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

Constant Summary

Constants included from Limitable

Limitable::GLOBAL_SCOPE

Constants included from Maskable

Maskable::MASK_AND_RAW_REGEX, Maskable::REGEX

Constants inherited from ApplicationRecord

ApplicationRecord::MAX_PLUCK

Constants included from ResetOnUnionError

ResetOnUnionError::MAX_RESET_PERIOD

Class Method Summary collapse

Methods included from Gitlab::ProcessMemoryCache::Helper

fetch_memory_cache, invalidate_memory_cache

Methods included from Limitable

#exceeds_limits?

Methods included from Maskable

#masked_and_expanded?, #masked_and_raw?, #to_runner_variable

Methods included from HasVariable

#to_runner_variable

Methods inherited from ApplicationRecord

model_name, table_name_prefix

Methods inherited from ApplicationRecord

cached_column_list, #create_or_load_association, declarative_enum, default_select_columns, id_in, id_not_in, iid_in, pluck_primary_key, primary_key_in, #readable_by?, safe_ensure_unique, safe_find_or_create_by, safe_find_or_create_by!, #to_ability_name, underscore, where_exists, where_not_exists, with_fast_read_statement_timeout, without_order

Methods included from SensitiveSerializableHash

#serializable_hash

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