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.
-
#pool_size ⇒ Object
Returns the value of attribute pool_size.
-
#source_bucket ⇒ Object
Returns the value of attribute source_bucket.
-
#source_region ⇒ Object
Returns the value of attribute source_region.
-
#source_sse ⇒ Object
Returns the value of attribute source_sse.
-
#sqs_region ⇒ Object
Returns the value of attribute sqs_region.
-
#sqs_url ⇒ Object
Returns the value of attribute sqs_url.
-
#sse ⇒ Object
Returns the value of attribute sse.
-
#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.
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
# File 'lib/docker/registry/sync/configuration.rb', line 59 def initialize @source_bucket = nil @source_region = nil @target_buckets = nil @sqs_region = nil @sqs_url = nil @source_sse = false @sse = false @empty_queue_sleep_time = 5 @pool_size = 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.
56 57 58 |
# File 'lib/docker/registry/sync/configuration.rb', line 56 def empty_queue_sleep_time @empty_queue_sleep_time end |
#log_level ⇒ Object
Returns the value of attribute log_level.
57 58 59 |
# File 'lib/docker/registry/sync/configuration.rb', line 57 def log_level @log_level end |
#logger ⇒ Object
Returns the value of attribute logger.
57 58 59 |
# File 'lib/docker/registry/sync/configuration.rb', line 57 def logger @logger end |
#pool_size ⇒ Object
Returns the value of attribute pool_size.
56 57 58 |
# File 'lib/docker/registry/sync/configuration.rb', line 56 def pool_size @pool_size end |
#source_bucket ⇒ Object
Returns the value of attribute source_bucket.
56 57 58 |
# File 'lib/docker/registry/sync/configuration.rb', line 56 def source_bucket @source_bucket end |
#source_region ⇒ Object
Returns the value of attribute source_region.
56 57 58 |
# File 'lib/docker/registry/sync/configuration.rb', line 56 def source_region @source_region end |
#source_sse ⇒ Object
Returns the value of attribute source_sse.
56 57 58 |
# File 'lib/docker/registry/sync/configuration.rb', line 56 def source_sse @source_sse end |
#sqs_region ⇒ Object
Returns the value of attribute sqs_region.
56 57 58 |
# File 'lib/docker/registry/sync/configuration.rb', line 56 def sqs_region @sqs_region end |
#sqs_url ⇒ Object
Returns the value of attribute sqs_url.
56 57 58 |
# File 'lib/docker/registry/sync/configuration.rb', line 56 def sqs_url @sqs_url end |
#sse ⇒ Object
Returns the value of attribute sse.
56 57 58 |
# File 'lib/docker/registry/sync/configuration.rb', line 56 def sse @sse end |
#target_buckets ⇒ Object
Returns the value of attribute target_buckets.
56 57 58 |
# File 'lib/docker/registry/sync/configuration.rb', line 56 def target_buckets @target_buckets end |