| 110 | |
| 111 | |
| 112 | class Config(object): |
| 113 | _instance = None |
| 114 | _parsed_files = [] |
| 115 | _doc = {} |
| 116 | access_key = u"" |
| 117 | secret_key = u"" |
| 118 | access_token = u"" |
| 119 | _access_token_refresh = True |
| 120 | _access_token_expiration = None |
| 121 | _access_token_last_update = None |
| 122 | host_base = u"s3.amazonaws.com" |
| 123 | host_bucket = u"%(bucket)s.s3.amazonaws.com" |
| 124 | kms_key = u"" #can't set this and Server Side Encryption at the same time |
| 125 | # simpledb_host looks useless, legacy? to remove? |
| 126 | simpledb_host = u"sdb.amazonaws.com" |
| 127 | cloudfront_host = u"cloudfront.amazonaws.com" |
| 128 | verbosity = logging.WARNING |
| 129 | progress_meter = sys.stdout.isatty() |
| 130 | progress_class = Progress.ProgressCR |
| 131 | send_chunk = 64 * 1024 |
| 132 | recv_chunk = 64 * 1024 |
| 133 | list_md5 = False |
| 134 | long_listing = False |
| 135 | human_readable_sizes = False |
| 136 | extra_headers = SortedDict(ignore_case = True) |
| 137 | force = False |
| 138 | server_side_encryption = False |
| 139 | enable = None |
| 140 | get_continue = False |
| 141 | put_continue = False |
| 142 | upload_id = u"" |
| 143 | skip_existing = False |
| 144 | recursive = False |
| 145 | restore_days = 1 |
| 146 | restore_priority = u"Standard" |
| 147 | acl_public = None |
| 148 | acl_grants = [] |
| 149 | acl_revokes = [] |
| 150 | proxy_host = u"" |
| 151 | proxy_port = 3128 |
| 152 | encrypt = False |
| 153 | dry_run = False |
| 154 | add_encoding_exts = u"" |
| 155 | preserve_attrs = True |
| 156 | preserve_attrs_list = [ |
| 157 | u'uname', # Verbose owner Name (e.g. 'root') |
| 158 | u'uid', # Numeric user ID (e.g. 0) |
| 159 | u'gname', # Group name (e.g. 'users') |
| 160 | u'gid', # Numeric group ID (e.g. 100) |
| 161 | u'atime', # Last access timestamp |
| 162 | u'mtime', # Modification timestamp |
| 163 | u'ctime', # Creation timestamp |
| 164 | u'mode', # File mode (e.g. rwxr-xr-x = 755) |
| 165 | u'md5', # File MD5 (if known) |
| 166 | #u'acl', # Full ACL (not yet supported) |
| 167 | ] |
| 168 | keep_dirs = False |
| 169 | delete_removed = False |
no test coverage detected
searching dependent graphs…