Module: UffizziCore::DependencyInjectionConcern
- Extended by:
- ActiveSupport::Concern
- Included in:
- ActivityItemService, Api::Cli::V1::AccountSerializer, Api::Cli::V1::Accounts::ClustersController, Api::Cli::V1::Deployment::CreateForm, Api::Cli::V1::Deployment::UpdateForm, Api::Cli::V1::Projects::DeploymentSerializer, Api::Cli::V1::Template::CreateForm, ApplicationController, ComposeFile::Parsers::ServicesParserService, ComposeFileService, Controller::CreateCluster::ClusterSerializer, Controller::UpdateCluster::ClusterSerializer, ControllerService, UffizziCore::Deployment::DomainService, DeploymentService, DeploymentService
- Defined in:
- app/controllers/concerns/uffizzi_core/dependency_injection_concern.rb
Instance Method Summary collapse
- #ci_module ⇒ Object
- #ci_session ⇒ Object
- #controller_settings_service ⇒ Object
- #deployment_memory_module ⇒ Object
- #domain_module ⇒ Object
- #find_build_parser_module ⇒ Object
- #find_ingress_parser_module ⇒ Object
- #find_volume_parser_module ⇒ Object
- #notification_module ⇒ Object
- #password_protection_module ⇒ Object
- #template_memory_module ⇒ Object
- #user_access_module ⇒ Object
Instance Method Details
#ci_module ⇒ Object
30 31 32 33 34 |
# File 'app/controllers/concerns/uffizzi_core/dependency_injection_concern.rb', line 30 def ci_module return unless module_exists?(:ci_module) module_class(:ci_module) end |
#ci_session ⇒ Object
36 37 38 39 40 |
# File 'app/controllers/concerns/uffizzi_core/dependency_injection_concern.rb', line 36 def ci_session return unless module_exists?(:ci_session) module_class(:ci_session) end |
#controller_settings_service ⇒ Object
76 77 78 79 80 |
# File 'app/controllers/concerns/uffizzi_core/dependency_injection_concern.rb', line 76 def controller_settings_service return unless module_exists?(:controller_settings) module_class(:controller_settings) end |
#deployment_memory_module ⇒ Object
64 65 66 67 68 |
# File 'app/controllers/concerns/uffizzi_core/dependency_injection_concern.rb', line 64 def deployment_memory_module return unless module_exists?(:deployment_memory_module) module_class(:deployment_memory_module) end |
#domain_module ⇒ Object
58 59 60 61 62 |
# File 'app/controllers/concerns/uffizzi_core/dependency_injection_concern.rb', line 58 def domain_module return unless module_exists?(:domain_module) module_class(:domain_module) end |
#find_build_parser_module ⇒ Object
22 23 24 |
# File 'app/controllers/concerns/uffizzi_core/dependency_injection_concern.rb', line 22 def find_build_parser_module module_class(:build_parser) end |
#find_ingress_parser_module ⇒ Object
48 49 50 |
# File 'app/controllers/concerns/uffizzi_core/dependency_injection_concern.rb', line 48 def find_ingress_parser_module module_class(:ingress_parser) end |
#find_volume_parser_module ⇒ Object
26 27 28 |
# File 'app/controllers/concerns/uffizzi_core/dependency_injection_concern.rb', line 26 def find_volume_parser_module module_class(:volume_parser) end |
#notification_module ⇒ Object
52 53 54 55 56 |
# File 'app/controllers/concerns/uffizzi_core/dependency_injection_concern.rb', line 52 def notification_module return unless module_exists?(:notification_module) module_class(:notification_module) end |
#password_protection_module ⇒ Object
42 43 44 45 46 |
# File 'app/controllers/concerns/uffizzi_core/dependency_injection_concern.rb', line 42 def password_protection_module return unless module_exists?(:password_protection) module_class(:password_protection) end |
#template_memory_module ⇒ Object
70 71 72 73 74 |
# File 'app/controllers/concerns/uffizzi_core/dependency_injection_concern.rb', line 70 def template_memory_module return unless module_exists?(:template_memory_module) module_class(:template_memory_module) end |
#user_access_module ⇒ Object
16 17 18 19 20 |
# File 'app/controllers/concerns/uffizzi_core/dependency_injection_concern.rb', line 16 def user_access_module return unless module_exists?(:rbac) UffizziCore::UserAccessService.new(module_class(:rbac)) end |