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.9.5 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.9.4 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.9.3 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.9.2 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.9.1 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.9.0 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.8.8 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.8.7 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.8.6 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.8.5 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.8.4 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.8.3 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.8.2 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.8.1 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.8.0 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.7.1 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.7.0 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.6.4 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.6.3 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.6.2 lib/kuber_kit/core/context_helper/context_helper_factory.rb