Class: ConfigOMat::MetaConfigurator::Memory

Inherits:
LifecycleVM::Memory
  • Object
show all
Defined in:
lib/config_o_mat/meta_configurator/memory.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(argv: [], env: {}, early_exit: false, configuration_directory: nil, runtime_directory: nil, logs_directory: nil, systemd_directory: nil, profile_defs: {}, template_defs: {}, service_defs: {}, dependencies: {}, refresh_interval: 5, client_id: '', logger: nil, retry_count: 3, retries_left: 3, retry_wait: 2, region: nil, systemd_interface: nil, gc_stat: 0, gc_copmact: 0, fallback_s3_bucket: nil) ⇒ Memory

Returns a new instance of Memory.



29
30
31
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
# File 'lib/config_o_mat/meta_configurator/memory.rb', line 29

def initialize(
  argv: [],
  env: {},
  early_exit: false,
  configuration_directory: nil,
  runtime_directory: nil,
  logs_directory: nil,
  systemd_directory: nil,
  profile_defs: {},
  template_defs: {},
  service_defs: {},
  dependencies: {},
  refresh_interval: 5,
  client_id: '',
  logger: nil,
  retry_count: 3,
  retries_left: 3,
  retry_wait: 2,
  region: nil,
  systemd_interface: nil,
  gc_stat: 0,
  gc_copmact: 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
  @systemd_directory = systemd_directory
  @profile_defs = profile_defs
  @template_defs = template_defs
  @service_defs = service_defs
  @dependencies = dependencies
  @refresh_interval = refresh_interval
  @client_id = client_id
  @logger = logger
  @retry_count = retry_count
  @retries_left = retries_left
  @retry_wait = retry_wait
  @region = region
  @systemd_interface = systemd_interface
  @gc_stat = gc_stat
  @gc_compact = gc_compact
  @fallback_s3_bucket = fallback_s3_bucket
end

Instance Attribute Details

#argvObject

Returns the value of attribute argv.



22
23
24
# File 'lib/config_o_mat/meta_configurator/memory.rb', line 22

def argv
  @argv
end

#client_idObject

Returns the value of attribute client_id.



22
23
24
# File 'lib/config_o_mat/meta_configurator/memory.rb', line 22

def client_id
  @client_id
end

#configuration_directoryObject

Returns the value of attribute configuration_directory.



22
23
24
# File 'lib/config_o_mat/meta_configurator/memory.rb', line 22

def configuration_directory
  @configuration_directory
end

#dependenciesObject

Returns the value of attribute dependencies.



22
23
24
# File 'lib/config_o_mat/meta_configurator/memory.rb', line 22

def dependencies
  @dependencies
end

#early_exitObject

Returns the value of attribute early_exit.



22
23
24
# File 'lib/config_o_mat/meta_configurator/memory.rb', line 22

def early_exit
  @early_exit
end

#envObject

Returns the value of attribute env.



22
23
24
# File 'lib/config_o_mat/meta_configurator/memory.rb', line 22

def env
  @env
end

#fallback_s3_bucketObject

Returns the value of attribute fallback_s3_bucket.



22
23
24
# File 'lib/config_o_mat/meta_configurator/memory.rb', line 22

def fallback_s3_bucket
  @fallback_s3_bucket
end

#gc_compactObject

Returns the value of attribute gc_compact.



22
23
24
# File 'lib/config_o_mat/meta_configurator/memory.rb', line 22

def gc_compact
  @gc_compact
end

#gc_statObject

Returns the value of attribute gc_stat.



22
23
24
# File 'lib/config_o_mat/meta_configurator/memory.rb', line 22

def gc_stat
  @gc_stat
end

#logs_directoryObject

Returns the value of attribute logs_directory.



22
23
24
# File 'lib/config_o_mat/meta_configurator/memory.rb', line 22

def logs_directory
  @logs_directory
end

#profile_defsObject

Returns the value of attribute profile_defs.



22
23
24
# File 'lib/config_o_mat/meta_configurator/memory.rb', line 22

def profile_defs
  @profile_defs
end

#refresh_intervalObject

Returns the value of attribute refresh_interval.



22
23
24
# File 'lib/config_o_mat/meta_configurator/memory.rb', line 22

def refresh_interval
  @refresh_interval
end

#regionObject

Returns the value of attribute region.



22
23
24
# File 'lib/config_o_mat/meta_configurator/memory.rb', line 22

def region
  @region
end

#retries_leftObject

Returns the value of attribute retries_left.



22
23
24
# File 'lib/config_o_mat/meta_configurator/memory.rb', line 22

def retries_left
  @retries_left
end

#retry_countObject

Returns the value of attribute retry_count.



22
23
24
# File 'lib/config_o_mat/meta_configurator/memory.rb', line 22

def retry_count
  @retry_count
end

#retry_waitObject

Returns the value of attribute retry_wait.



22
23
24
# File 'lib/config_o_mat/meta_configurator/memory.rb', line 22

def retry_wait
  @retry_wait
end

#runtime_directoryObject

Returns the value of attribute runtime_directory.



22
23
24
# File 'lib/config_o_mat/meta_configurator/memory.rb', line 22

def runtime_directory
  @runtime_directory
end

#service_defsObject

Returns the value of attribute service_defs.



22
23
24
# File 'lib/config_o_mat/meta_configurator/memory.rb', line 22

def service_defs
  @service_defs
end

#systemd_directoryObject

Returns the value of attribute systemd_directory.



22
23
24
# File 'lib/config_o_mat/meta_configurator/memory.rb', line 22

def systemd_directory
  @systemd_directory
end

#systemd_interfaceObject

Returns the value of attribute systemd_interface.



22
23
24
# File 'lib/config_o_mat/meta_configurator/memory.rb', line 22

def systemd_interface
  @systemd_interface
end

#template_defsObject

Returns the value of attribute template_defs.



22
23
24
# File 'lib/config_o_mat/meta_configurator/memory.rb', line 22

def template_defs
  @template_defs
end