Class: Helmsnap::SetupDependencies
- Defined in:
- lib/helmsnap/setup_dependencies.rb
Constant Summary collapse
- REPO_NAME_PREFIX =
"helmsnap-"
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(config) ⇒ SetupDependencies
constructor
A new instance of SetupDependencies.
Methods inherited from Service
Constructor Details
#initialize(config) ⇒ SetupDependencies
Returns a new instance of SetupDependencies.
6 7 8 9 10 |
# File 'lib/helmsnap/setup_dependencies.rb', line 6 def initialize(config) super() self.config = config self.processed_paths = Set.new end |
Instance Method Details
#call ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/helmsnap/setup_dependencies.rb', line 12 def call clear_existing_repos! config.envs.flat_map(&:release_paths).each do |chart_path| setup!(chart_path) end end |