Sha256: 96961d4ae78a2b27fbcbfaa7c040e3714277b281cd85bb59d867f47885f2ccdb

Contents?: true

Size: 737 Bytes

Versions: 13

Compression:

Stored size: 737 Bytes

Contents

class KuberKit::Core::ContextHelper::ContextHelperFactory
  include KuberKit::Import[
    "core.image_store",
    "core.artifact_store",
    env_file_reader: "env_file_reader.action_handler"
  ]

  def build_image_context(shell)
    KuberKit::Core::ContextHelper::ImageHelper.new(
      image_store:      image_store,
      artifact_store:   artifact_store,
      shell:            shell,
      env_file_reader:  env_file_reader
    )
  end

  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
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
kuber_kit-0.2.8 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.2.7 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.2.6 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.2.5 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.2.4 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.2.3 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.2.2 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.2.1 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.2.0 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.1.9 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.1.8 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.1.7 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.1.6 lib/kuber_kit/core/context_helper/context_helper_factory.rb