Sha256: 59f4f45d3f1b8f9ab3d232e422ab5687a380faf715a44e71d524b8e5740c27bf
Contents?: true
Size: 392 Bytes
Versions: 18
Compression:
Stored size: 392 Bytes
Contents
class KuberKit::TemplateReader::ArtifactFileReader < KuberKit::TemplateReader::AbstractTemplateReader include KuberKit::Import[ "core.artifact_store" ] def read(shell, env_file) artifact = artifact_store.get(env_file.artifact_name) file_parts = [artifact.cloned_path, env_file.file_path].compact file_path = File.join(*file_parts) shell.read(file_path) end end
Version data entries
18 entries across 18 versions & 1 rubygems