Class: ConfigOMat::Configurator::Memory
- Inherits:
-
LifecycleVM::Memory
- Object
- LifecycleVM::Memory
- ConfigOMat::Configurator::Memory
- Defined in:
- lib/config_o_mat/configurator/memory.rb
Instance Attribute Summary collapse
-
#appconfig_client ⇒ Object
Returns the value of attribute appconfig_client.
-
#applied_profiles ⇒ Object
Returns the value of attribute applied_profiles.
-
#applying_profile ⇒ Object
Returns the value of attribute applying_profile.
-
#argv ⇒ Object
Returns the value of attribute argv.
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#compiled_templates ⇒ Object
Returns the value of attribute compiled_templates.
-
#configuration_directory ⇒ Object
Returns the value of attribute configuration_directory.
-
#dependencies ⇒ Object
Returns the value of attribute dependencies.
-
#early_exit ⇒ Object
Returns the value of attribute early_exit.
-
#env ⇒ Object
Returns the value of attribute env.
-
#fallback_s3_bucket ⇒ Object
Returns the value of attribute fallback_s3_bucket.
-
#gc_compact ⇒ Object
Returns the value of attribute gc_compact.
-
#gc_stat ⇒ Object
Returns the value of attribute gc_stat.
-
#generated_templates ⇒ Object
Returns the value of attribute generated_templates.
-
#last_refresh_time ⇒ Object
Returns the value of attribute last_refresh_time.
-
#logs_directory ⇒ Object
Returns the value of attribute logs_directory.
-
#next_state ⇒ Object
Returns the value of attribute next_state.
-
#profile_defs ⇒ Object
Returns the value of attribute profile_defs.
-
#profiles_to_apply ⇒ Object
Returns the value of attribute profiles_to_apply.
-
#refresh_interval ⇒ Object
Returns the value of attribute refresh_interval.
-
#region ⇒ Object
Returns the value of attribute region.
-
#retries_left ⇒ Object
Returns the value of attribute retries_left.
-
#retry_count ⇒ Object
Returns the value of attribute retry_count.
-
#retry_wait ⇒ Object
Returns the value of attribute retry_wait.
-
#run_count ⇒ Object
Returns the value of attribute run_count.
-
#runtime_directory ⇒ Object
Returns the value of attribute runtime_directory.
-
#s3_client ⇒ Object
Returns the value of attribute s3_client.
-
#secrets_loader_memory ⇒ Object
Returns the value of attribute secrets_loader_memory.
-
#secretsmanager_client ⇒ Object
Returns the value of attribute secretsmanager_client.
-
#service_defs ⇒ Object
Returns the value of attribute service_defs.
-
#services_to_reload ⇒ Object
Returns the value of attribute services_to_reload.
-
#systemd_interface ⇒ Object
Returns the value of attribute systemd_interface.
-
#template_defs ⇒ Object
Returns the value of attribute template_defs.
Instance Method Summary collapse
Constructor Details
#initialize(argv: [], env: {}, early_exit: false, configuration_directory: nil, runtime_directory: nil, logs_directory: nil, run_count: 0, profile_defs: {}, template_defs: {}, service_defs: {}, dependencies: {}, refresh_interval: 5, client_id: '', logger: nil, compiled_templates: {}, applied_profiles: {}, profiles_to_apply: [], applying_profile: nil, generated_templates: {}, services_to_reload: Set.new, last_refresh_time: 0, next_state: :running, retry_count: 3, retries_left: 3, retry_wait: 2, region: nil, appconfig_client: nil, secretsmanager_client: nil, s3_client: nil, systemd_interface: nil, secrets_loader_memory: nil, gc_compact: 0, gc_stat: 0, fallback_s3_bucket: nil) ⇒ Memory
Returns a new instance of Memory.
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 |
# File 'lib/config_o_mat/configurator/memory.rb', line 32 def initialize( argv: [], env: {}, early_exit: false, configuration_directory: nil, runtime_directory: nil, logs_directory: nil, run_count: 0, profile_defs: {}, template_defs: {}, service_defs: {}, dependencies: {}, refresh_interval: 5, client_id: '', logger: nil, compiled_templates: {}, applied_profiles: {}, profiles_to_apply: [], applying_profile: nil, generated_templates: {}, services_to_reload: Set.new, last_refresh_time: 0, next_state: :running, retry_count: 3, retries_left: 3, retry_wait: 2, region: nil, appconfig_client: nil, secretsmanager_client: nil, s3_client: nil, systemd_interface: nil, secrets_loader_memory: nil, gc_compact: 0, gc_stat: 0, fallback_s3_bucket: nil ) super() @argv = argv @env = env @early_exit = early_exit @configuration_directory = configuration_directory @runtime_directory = runtime_directory @logs_directory = logs_directory @run_count = run_count @profile_defs = profile_defs @template_defs = template_defs @service_defs = service_defs @dependencies = dependencies @refresh_interval = refresh_interval @client_id = client_id @logger = logger @compiled_templates = compiled_templates @applied_profiles = applied_profiles @profiles_to_apply = profiles_to_apply @applying_profile = @generated_templates = generated_templates @services_to_reload = services_to_reload @last_refresh_time = last_refresh_time @next_state = next_state @retry_count = retry_count @retries_left = retries_left @retry_wait = retry_wait @region = region @appconfig_client = appconfig_client @secretsmanager_client = secretsmanager_client @s3_client = s3_client @systemd_interface = systemd_interface @secrets_loader_memory = secrets_loader_memory @gc_compact = gc_compact @gc_stat = gc_stat @fallback_s3_bucket = fallback_s3_bucket end |
Instance Attribute Details
#appconfig_client ⇒ Object
Returns the value of attribute appconfig_client.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def appconfig_client @appconfig_client end |
#applied_profiles ⇒ Object
Returns the value of attribute applied_profiles.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def applied_profiles @applied_profiles end |
#applying_profile ⇒ Object
Returns the value of attribute applying_profile.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def @applying_profile end |
#argv ⇒ Object
Returns the value of attribute argv.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def argv @argv end |
#client_id ⇒ Object
Returns the value of attribute client_id.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def client_id @client_id end |
#compiled_templates ⇒ Object
Returns the value of attribute compiled_templates.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def compiled_templates @compiled_templates end |
#configuration_directory ⇒ Object
Returns the value of attribute configuration_directory.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def configuration_directory @configuration_directory end |
#dependencies ⇒ Object
Returns the value of attribute dependencies.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def dependencies @dependencies end |
#early_exit ⇒ Object
Returns the value of attribute early_exit.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def early_exit @early_exit end |
#env ⇒ Object
Returns the value of attribute env.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def env @env end |
#fallback_s3_bucket ⇒ Object
Returns the value of attribute fallback_s3_bucket.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def fallback_s3_bucket @fallback_s3_bucket end |
#gc_compact ⇒ Object
Returns the value of attribute gc_compact.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def gc_compact @gc_compact end |
#gc_stat ⇒ Object
Returns the value of attribute gc_stat.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def gc_stat @gc_stat end |
#generated_templates ⇒ Object
Returns the value of attribute generated_templates.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def generated_templates @generated_templates end |
#last_refresh_time ⇒ Object
Returns the value of attribute last_refresh_time.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def last_refresh_time @last_refresh_time end |
#logs_directory ⇒ Object
Returns the value of attribute logs_directory.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def logs_directory @logs_directory end |
#next_state ⇒ Object
Returns the value of attribute next_state.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def next_state @next_state end |
#profile_defs ⇒ Object
Returns the value of attribute profile_defs.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def profile_defs @profile_defs end |
#profiles_to_apply ⇒ Object
Returns the value of attribute profiles_to_apply.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def profiles_to_apply @profiles_to_apply end |
#refresh_interval ⇒ Object
Returns the value of attribute refresh_interval.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def refresh_interval @refresh_interval end |
#region ⇒ Object
Returns the value of attribute region.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def region @region end |
#retries_left ⇒ Object
Returns the value of attribute retries_left.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def retries_left @retries_left end |
#retry_count ⇒ Object
Returns the value of attribute retry_count.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def retry_count @retry_count end |
#retry_wait ⇒ Object
Returns the value of attribute retry_wait.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def retry_wait @retry_wait end |
#run_count ⇒ Object
Returns the value of attribute run_count.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def run_count @run_count end |
#runtime_directory ⇒ Object
Returns the value of attribute runtime_directory.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def runtime_directory @runtime_directory end |
#s3_client ⇒ Object
Returns the value of attribute s3_client.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def s3_client @s3_client end |
#secrets_loader_memory ⇒ Object
Returns the value of attribute secrets_loader_memory.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def secrets_loader_memory @secrets_loader_memory end |
#secretsmanager_client ⇒ Object
Returns the value of attribute secretsmanager_client.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def secretsmanager_client @secretsmanager_client end |
#service_defs ⇒ Object
Returns the value of attribute service_defs.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def service_defs @service_defs end |
#services_to_reload ⇒ Object
Returns the value of attribute services_to_reload.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def services_to_reload @services_to_reload end |
#systemd_interface ⇒ Object
Returns the value of attribute systemd_interface.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def systemd_interface @systemd_interface end |
#template_defs ⇒ Object
Returns the value of attribute template_defs.
22 23 24 |
# File 'lib/config_o_mat/configurator/memory.rb', line 22 def template_defs @template_defs end |