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.3.4 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.3.3 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.3.2 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.3.1 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.3.0 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.2.9 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.2.8 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.2.7 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.2.6 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.2.5 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.2.4 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.2.3 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.2.2 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.2.1 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.2.0 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.1.9 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.1.8 lib/kuber_kit/service_deployer/action_handler.rb
kuber_kit-0.1.7 lib/kuber_kit/service_deployer/action_handler.rb