Module: Gitlab::Ci::Config::Entry::Imageable
Overview
Represents Imageable concern shared by Image and Service.
Constant Summary
collapse
- IMAGEABLE_ALLOWED_KEYS =
%i[name entrypoint ports pull_policy].freeze
Instance Method Summary
collapse
#compose!, #entry_create!
Instance Method Details
#entrypoint ⇒ Object
41
42
43
|
# File 'lib/gitlab/ci/config/entry/imageable.rb', line 41
def entrypoint
value[:entrypoint]
end
|
#name ⇒ Object
37
38
39
|
# File 'lib/gitlab/ci/config/entry/imageable.rb', line 37
def name
value[:name]
end
|
#skip_config_hash_validation? ⇒ Boolean
49
50
51
|
# File 'lib/gitlab/ci/config/entry/imageable.rb', line 49
def skip_config_hash_validation?
true
end
|
#with_image_ports? ⇒ Boolean
45
46
47
|
# File 'lib/gitlab/ci/config/entry/imageable.rb', line 45
def with_image_ports?
opt(:with_image_ports)
end
|