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

Version Path
kuber_kit-1.3.2 lib/kuber_kit/template_reader/strategies/artifact_file.rb
kuber_kit-1.1.5 lib/kuber_kit/template_reader/strategies/artifact_file.rb
kuber_kit-1.3.1 lib/kuber_kit/template_reader/strategies/artifact_file.rb
kuber_kit-1.3.0 lib/kuber_kit/template_reader/strategies/artifact_file.rb
kuber_kit-1.1.4 lib/kuber_kit/template_reader/strategies/artifact_file.rb
kuber_kit-1.2.7 lib/kuber_kit/template_reader/strategies/artifact_file.rb
kuber_kit-1.2.6 lib/kuber_kit/template_reader/strategies/artifact_file.rb
kuber_kit-1.2.5 lib/kuber_kit/template_reader/strategies/artifact_file.rb
kuber_kit-1.2.4 lib/kuber_kit/template_reader/strategies/artifact_file.rb
kuber_kit-1.2.2 lib/kuber_kit/template_reader/strategies/artifact_file.rb
kuber_kit-1.1.2 lib/kuber_kit/template_reader/strategies/artifact_file.rb
kuber_kit-1.2.1 lib/kuber_kit/template_reader/strategies/artifact_file.rb
kuber_kit-1.2.0 lib/kuber_kit/template_reader/strategies/artifact_file.rb
kuber_kit-1.1.1 lib/kuber_kit/template_reader/strategies/artifact_file.rb
kuber_kit-1.0.1 lib/kuber_kit/template_reader/strategies/artifact_file.rb
kuber_kit-1.0.0 lib/kuber_kit/template_reader/strategies/artifact_file.rb
kuber_kit-0.9.9 lib/kuber_kit/template_reader/strategies/artifact_file.rb
kuber_kit-0.9.8 lib/kuber_kit/template_reader/strategies/artifact_file.rb
kuber_kit-0.9.7 lib/kuber_kit/template_reader/strategies/artifact_file.rb
kuber_kit-0.9.6 lib/kuber_kit/template_reader/strategies/artifact_file.rb