Class: UffizziCore::ControllerSettingsService
- Inherits:
-
Object
- Object
- UffizziCore::ControllerSettingsService
- Defined in:
- app/services/uffizzi_core/controller_settings_service.rb
Class Method Summary collapse
- .deployment_settings_by_deployment(_deployment) ⇒ Object
- .vcluster_settings_by_account(_account) ⇒ Object
- .vcluster_settings_by_vcluster(_cluster) ⇒ Object
Class Method Details
.deployment_settings_by_deployment(_deployment) ⇒ Object
13 14 15 16 17 |
# File 'app/services/uffizzi_core/controller_settings_service.rb', line 13 def deployment_settings_by_deployment(_deployment) Settings.controller.deep_dup.tap do |s| s.managed_dns_zone = Settings.app.managed_dns_zone end end |
.vcluster_settings_by_account(_account) ⇒ Object
9 10 11 |
# File 'app/services/uffizzi_core/controller_settings_service.rb', line 9 def vcluster_settings_by_account(_account) Settings.vcluster_controller end |
.vcluster_settings_by_vcluster(_cluster) ⇒ Object
5 6 7 |
# File 'app/services/uffizzi_core/controller_settings_service.rb', line 5 def vcluster_settings_by_vcluster(_cluster) Settings.vcluster_controller end |