Class: Gitlab::Ci::Config::Entry::Caches
- Inherits:
-
Gitlab::Config::Entry::ComposableArray
- Object
- Gitlab::Config::Entry::Node
- Gitlab::Config::Entry::ComposableArray
- Gitlab::Ci::Config::Entry::Caches
- Includes:
- Gitlab::Config::Entry::Validatable
- Defined in:
- lib/gitlab/ci/config/entry/caches.rb
Overview
Entry that represents caches configuration
Constant Summary collapse
- MULTIPLE_CACHE_LIMIT =
4
Constants inherited from Gitlab::Config::Entry::Node
Gitlab::Config::Entry::Node::InvalidError
Instance Attribute Summary
Attributes inherited from Gitlab::Config::Entry::Node
#config, #default, #deprecation, #description, #key, #metadata, #parent
Instance Method Summary collapse
- #composable_class ⇒ Object
-
#initialize(*args) ⇒ Caches
constructor
A new instance of Caches.
Methods included from Gitlab::Config::Entry::Validatable
#compose!, #errors, included, #validate, #validator
Methods inherited from Gitlab::Config::Entry::ComposableArray
#compose!, #descendants, #value
Methods inherited from Gitlab::Config::Entry::Node
#[], #add_warning, #ancestors, #array?, aspects, #compose!, default, #descendants, #errors, #hash?, #inspect, #integer?, #leaf?, #location, #opt, #relevant?, #specified?, #string?, #valid?, #value, #warnings, with_aspect
Constructor Details
#initialize(*args) ⇒ Caches
Returns a new instance of Caches.
27 28 29 30 31 |
# File 'lib/gitlab/ci/config/entry/caches.rb', line 27 def initialize(*args) super @key = nil end |