Sha256: f972420ad4a773f4ad1320759c80661b57e4b2a006db8cc22cf847d4c1444247
Contents?: true
Size: 590 Bytes
Versions: 23
Compression:
Stored size: 590 Bytes
Contents
class KuberKit::ServiceReader::Reader include KuberKit::Import[ "core.template_store", "core.context_helper_factory", "template_reader.reader", "preprocessing.text_preprocessor" ] Contract KuberKit::Shell::AbstractShell, KuberKit::Core::Service => Any 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
23 entries across 23 versions & 1 rubygems