Sha256: ed9d14ad4f0b05cac3bab6167235768665ed8d5c754a1498ee9f5b312d9467de

Contents?: true

Size: 479 Bytes

Versions: 10

Compression:

Stored size: 479 Bytes

Contents

class KuberKit::ServiceGenerator::ActionHandler
  include KuberKit::Import[
    "service_generator.generator",
    "service_generator.strategy_detector",
    "core.service_store",
  ]

  Contract KuberKit::Shell::AbstractShell, Symbol, String => Any
  def call(shell, service_name, export_path)
    service = service_store.get_service(service_name)

    strategy_name = strategy_detector.call(service)

    generator.generate(shell, service, export_path, strategy_name)
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
kuber_kit-1.3.8 lib/kuber_kit/service_generator/action_handler.rb
kuber_kit-1.3.7 lib/kuber_kit/service_generator/action_handler.rb
kuber_kit-1.1.8 lib/kuber_kit/service_generator/action_handler.rb
kuber_kit-1.3.6 lib/kuber_kit/service_generator/action_handler.rb
kuber_kit-1.1.7 lib/kuber_kit/service_generator/action_handler.rb
kuber_kit-1.3.5 lib/kuber_kit/service_generator/action_handler.rb
kuber_kit-1.3.4 lib/kuber_kit/service_generator/action_handler.rb
kuber_kit-1.1.6 lib/kuber_kit/service_generator/action_handler.rb
kuber_kit-1.3.3 lib/kuber_kit/service_generator/action_handler.rb
kuber_kit-1.3.2 lib/kuber_kit/service_generator/action_handler.rb