Sha256: 86fd157a6b580ca91350c50dc7d020378fd39a7d82469f219cb547bf2c19f8f6
Contents?: true
Size: 439 Bytes
Versions: 1
Compression:
Stored size: 439 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.restart(shell, service, strategy_name) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kuber_kit-0.1.6 | lib/kuber_kit/service_deployer/action_handler.rb |