Sha256: 17ef3c85e84ccf8d9184b6cb26093f0d4abe073eb1f6c783866db20bdd694b57
Contents?: true
Size: 525 Bytes
Versions: 3
Compression:
Stored size: 525 Bytes
Contents
class KuberKit::ServiceDeployer::ServiceReader include KuberKit::Import[ "core.template_store", "core.context_helper_factory", "template_reader.reader", "preprocessing.text_preprocessor" ] def read(shell, service) template = template_store.get(service.template_name) context_helper = context_helper_factory.build_service_context(shell, service) template = reader.read(shell, template) result = text_preprocessor.compile(template, context_helper: context_helper) result end end
Version data entries
3 entries across 3 versions & 1 rubygems