Sha256: 6bba5bb3e4e6606c0684387497f67ebd0b2e51323a0c254ab2e8b82f739da61a

Contents?: true

Size: 775 Bytes

Versions: 76

Compression:

Stored size: 775 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, 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

  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

76 entries across 76 versions & 1 rubygems

Version Path
kuber_kit-0.4.2 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.4.1 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.4.0 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.3.11 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.3.10 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.3.9 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.3.8 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.3.7 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.3.6 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.3.5 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.3.4 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.3.3 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.3.2 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.3.1 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.3.0 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.2.9 lib/kuber_kit/core/context_helper/context_helper_factory.rb