Class: KuberKit::Core::Artifacts::Local
Instance Attribute Summary
#name
Instance Method Summary
collapse
#initialize, #namespace
#inspect
Instance Method Details
#cleanup_needed? ⇒ Boolean
19
20
21
|
# File 'lib/kuber_kit/core/artifacts/local.rb', line 19
def cleanup_needed?
false
end
|
#cloned_path ⇒ Object
11
12
13
|
# File 'lib/kuber_kit/core/artifacts/local.rb', line 11
def cloned_path
root_path
end
|
#root_path ⇒ Object
7
8
9
|
# File 'lib/kuber_kit/core/artifacts/local.rb', line 7
def root_path
@root_path || (raise ArgumentError.new("root path was not set. Set it using setup method"))
end
|
#setup(root_path) ⇒ Object
2
3
4
5
|
# File 'lib/kuber_kit/core/artifacts/local.rb', line 2
def setup(root_path)
@root_path = File.expand_path(root_path)
self
end
|
#sync_description ⇒ Object
15
16
17
|
# File 'lib/kuber_kit/core/artifacts/local.rb', line 15
def sync_description
"local"
end
|