Sha256: d69f81f7140f43859720bcfc487ccecdb0ddb8278143e33f74cecc5b40be82c9
Contents?: true
Size: 396 Bytes
Versions: 47
Compression:
Stored size: 396 Bytes
Contents
class KuberKit::TemplateReader::Strategies::ArtifactFile < KuberKit::TemplateReader::Strategies::Abstract include KuberKit::Import[ "core.artifact_store" ] 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 end
Version data entries
47 entries across 47 versions & 1 rubygems