Sha256: 57b37b4e4c902a86a757091029f0dc5744346de798bbffc835d2db5e599fcc6d

Contents?: true

Size: 438 Bytes

Versions: 98

Compression:

Stored size: 438 Bytes

Contents

class KuberKit::ServiceDeployer::ActionHandler
  include KuberKit::Import[
    "service_deployer.deployer",
    "service_deployer.strategy_detector",
    "core.service_store",
  ]

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

    strategy_name = strategy_detector.call(service)

    deployer.deploy(shell, service, strategy_name)
  end
end

Version data entries

98 entries across 98 versions & 1 rubygems

Version Path
kuber_kit-0.5.2 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.5.1 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.5.0 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.4.9 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.4.8 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.4.7 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.4.6 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.4.5 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.4.4 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.4.3 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.4.2 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.4.1 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.4.0 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.3.11 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.3.10 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.3.9 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.3.8 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.3.7 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.3.6 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.3.5 lib/kuber_kit/service_deployer/action_handler.rb