class KuberKit::Core::ContextHelper::ContextHelperFactory

Public Instance Methods

build_image_context(shell, image) click to toggle source
# 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) click to toggle source
# 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