Sha256: ad92d33004d166d16b755309595f819ba3820a5f2bb4b85341e24a12ab748443

Contents?: true

Size: 202 Bytes

Versions: 8

Compression:

Stored size: 202 Bytes

Contents

class KuberKit::ServiceDeployer::StrategyDetector
  Contract KuberKit::Core::Service => Symbol
  def call(service)
    service.deploy_strategy || KuberKit.current_configuration.deploy_strategy
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
kuber_kit-0.3.1 lib/kuber_kit/service_deployer/strategy_detector.rb
kuber_kit-0.3.0 lib/kuber_kit/service_deployer/strategy_detector.rb
kuber_kit-0.2.9 lib/kuber_kit/service_deployer/strategy_detector.rb
kuber_kit-0.2.8 lib/kuber_kit/service_deployer/strategy_detector.rb
kuber_kit-0.2.7 lib/kuber_kit/service_deployer/strategy_detector.rb
kuber_kit-0.2.6 lib/kuber_kit/service_deployer/strategy_detector.rb
kuber_kit-0.2.5 lib/kuber_kit/service_deployer/strategy_detector.rb
kuber_kit-0.2.4 lib/kuber_kit/service_deployer/strategy_detector.rb