class KuberKit::TemplateReader::Strategies::ArtifactFile
Public Instance Methods
read(shell, template)
click to toggle source
# File lib/kuber_kit/template_reader/strategies/artifact_file.rb, line 6 def read(shell, template) artifact = artifact_store.get(template.artifact_name) file_parts = [artifact.cloned_path, template.file_path].compact file_path = File.join(*file_parts) shell.read(file_path) end