Module: UffizziCore::DependencyInjectionConcern

Instance Method Summary collapse

Instance Method Details

#ci_moduleObject



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_sessionObject



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_serviceObject



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_moduleObject



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_moduleObject



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_moduleObject



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_moduleObject



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_moduleObject



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_moduleObject



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_moduleObject



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_moduleObject



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_moduleObject



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