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.8.4 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.8.3 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.8.2 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.8.1 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.8.0 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.7.1 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.7.0 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.6.4 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.6.3 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.6.2 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.6.1 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.6.0 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.5.10 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.5.9 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.5.8 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.5.7 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.5.6 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.5.5 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.5.4 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.5.3 lib/kuber_kit/service_deployer/action_handler.rb