Class: Docker::Registry::Sync::Configuration
- Inherits:
-
Object
- Object
- Docker::Registry::Sync::Configuration
- Defined in:
- lib/docker/registry/sync/configuration.rb
Instance Attribute Summary collapse
-
#empty_queue_sleep_time ⇒ Object
Returns the value of attribute empty_queue_sleep_time.
-
#log_level ⇒ Object
Returns the value of attribute log_level.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#source_bucket ⇒ Object
Returns the value of attribute source_bucket.
-
#source_region ⇒ Object
Returns the value of attribute source_region.
-
#sqs_region ⇒ Object
Returns the value of attribute sqs_region.
-
#sqs_url ⇒ Object
Returns the value of attribute sqs_url.
-
#target_buckets ⇒ Object
Returns the value of attribute target_buckets.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
# File 'lib/docker/registry/sync/configuration.rb', line 56 def initialize @source_bucket = nil @source_region = nil @target_buckets = nil @sqs_region = nil @sqs_url = nil @empty_queue_sleep_time = 5 @log_level = :debug @logger = Docker::Registry::Sync::STDLogger end |
Instance Attribute Details
#empty_queue_sleep_time ⇒ Object
Returns the value of attribute empty_queue_sleep_time.
53 54 55 |
# File 'lib/docker/registry/sync/configuration.rb', line 53 def empty_queue_sleep_time @empty_queue_sleep_time end |
#log_level ⇒ Object
Returns the value of attribute log_level.
54 55 56 |
# File 'lib/docker/registry/sync/configuration.rb', line 54 def log_level @log_level end |
#logger ⇒ Object
Returns the value of attribute logger.
54 55 56 |
# File 'lib/docker/registry/sync/configuration.rb', line 54 def logger @logger end |
#source_bucket ⇒ Object
Returns the value of attribute source_bucket.
53 54 55 |
# File 'lib/docker/registry/sync/configuration.rb', line 53 def source_bucket @source_bucket end |
#source_region ⇒ Object
Returns the value of attribute source_region.
53 54 55 |
# File 'lib/docker/registry/sync/configuration.rb', line 53 def source_region @source_region end |
#sqs_region ⇒ Object
Returns the value of attribute sqs_region.
53 54 55 |
# File 'lib/docker/registry/sync/configuration.rb', line 53 def sqs_region @sqs_region end |
#sqs_url ⇒ Object
Returns the value of attribute sqs_url.
53 54 55 |
# File 'lib/docker/registry/sync/configuration.rb', line 53 def sqs_url @sqs_url end |
#target_buckets ⇒ Object
Returns the value of attribute target_buckets.
53 54 55 |
# File 'lib/docker/registry/sync/configuration.rb', line 53 def target_buckets @target_buckets end |