Class: KuberKit::Core::ContextHelper::ContextHelperFactory
- Defined in:
- lib/kuber_kit/core/context_helper/context_helper_factory.rb
Instance Method Summary collapse
Instance Method Details
#build_image_context(shell, image) ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/kuber_kit/core/context_helper/context_helper_factory.rb', line 8 def build_image_context(shell, image) KuberKit::Core::ContextHelper::ImageHelper.new( image_store: image_store, artifact_store: artifact_store, shell: shell, env_file_reader: env_file_reader, image: image ) end |
#build_service_context(shell, service) ⇒ Object
18 19 20 21 22 23 24 25 26 |
# File 'lib/kuber_kit/core/context_helper/context_helper_factory.rb', line 18 def build_service_context(shell, service) KuberKit::Core::ContextHelper::ServiceHelper.new( image_store: image_store, artifact_store: artifact_store, shell: shell, env_file_reader: env_file_reader, service: service, ) end |