Sha256: 917c53aa7f26167276e4b45a17ea819f495fe052096eb1e3043da39d3c758881
Contents?: true
Size: 427 Bytes
Versions: 3
Compression:
Stored size: 427 Bytes
Contents
class KuberKit::ServiceDeployer::Deployer include KuberKit::Import[ "service_deployer.service_restarter", "core.service_store", ] Contract KuberKit::Shell::AbstractShell, Symbol => Any def deploy(shell, service_name) service = service_store.get_service(service_name) strategy_name = KuberKit.current_configuration.deploy_strategy service_restarter.restart(shell, service, strategy_name) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
kuber_kit-0.1.5 | lib/kuber_kit/service_deployer/deployer.rb |
kuber_kit-0.1.4 | lib/kuber_kit/service_deployer/deployer.rb |
kuber_kit-0.1.3 | lib/kuber_kit/service_deployer/deployer.rb |