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-1.3.2 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-1.1.5 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-1.3.1 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-1.3.0 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-1.1.4 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-1.2.7 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-1.2.6 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-1.2.5 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-1.2.4 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-1.2.2 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-1.1.2 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-1.2.1 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-1.2.0 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-1.1.1 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-1.0.1 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-1.0.0 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.9.9 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.9.8 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.9.7 lib/kuber_kit/core/context_helper/context_helper_factory.rb
kuber_kit-0.9.6 lib/kuber_kit/core/context_helper/context_helper_factory.rb