Module Expr Str Import alias Import alias ImportFrom alias Assign NameStore Str Assign NameStore Str Assign NameStore BinOpAdd NameLoad Str Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str Assign NameStore Str ClassDef bases Call AttributeLoad NameLoad attr Str ListLoad Str Str body FunctionDef arguments args NameParam defaults body Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Return Call NameLoad BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assert Call AttributeLoad NameLoad attr Str Assert CompareLtE Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad Call AttributeLoad SubscriptLoad Call NameLoad NameLoad Slice Num attr attr Num Assert CompareEq Call NameLoad NameLoad Num Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Num Assert CompareLtE NameLoad Num If CompareEq NameLoad Num body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Num Assert CompareLtE NameLoad Num Assert BoolOpAnd CompareEq NameLoad Num CompareGt NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr BinOpSub NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Num Return Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad orelse Assert CompareGt NameLoad Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BinOpSub NameLoad Num Return Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assert NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Num Assert CompareLtE NameLoad Num If CompareEq NameLoad Num body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Num Assert CompareLt NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Num Return Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num Return Call AttributeLoad NameLoad attr NameLoad NameLoad Assert NameLoad decorator_list decorator_list Assign NameStore Call NameLoad TupleLoad Str Str Str Str Str Assign NameStore TupleLoad Str Str Str ClassDef bases NameLoad body Assign NameStore ListLoad Str Str Str Str Str Str Str FunctionDef arguments args NameParam defaults kwarg body For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Dict Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Raise Call NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad If CompareNotIn AttributeLoad NameLoad attr NameLoad body Raise Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Call AttributeLoad Str attr AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call NameLoad NameLoad BinOpMod Str NameLoad CompareEq NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If BoolOpAnd NameLoad CompareNotEq SubscriptLoad NameLoad Index Num Str body Assign AttributeStore NameLoad attr BinOpAdd NameLoad Str Assign AttributeStore NameLoad attr BinOpAdd NameLoad Str orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body If CompareNotEq AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Return BinOpAdd BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Return BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return BinOpAdd Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Return BinOpAdd Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Return BinOpAdd Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpAdd BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Return BinOpAdd BinOpAdd Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad Str body Return AttributeLoad NameLoad attr Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list FunctionDef arguments args NameParam defaults kwarg body Assign SubscriptStore NameLoad Index Str NameLoad If AttributeLoad NameLoad attr body ImportFrom alias Assign NameStore Call NameLoad NameLoad orelse If AttributeLoad NameLoad attr body ImportFrom alias Assign NameStore Call NameLoad NameLoad orelse If AttributeLoad NameLoad attr body ImportFrom alias Assign NameStore Call NameLoad NameLoad Return NameLoad decorator_list
N/A N/A 
Blob Storage Abstraction

This module is used to define and provide accessors to the logical
structure and metadata for an S3 or Windows Azure Blob Storage
backed WAL-E prefix.

 N/A collections N/A wal_e.exception urlparse urlparse N/A CURRENT_VERSION 005 N/A SEGMENT_REGEXP (?P<filename>(?P<tli>[0-9A-F]{8,8})(?P<log>[0-9A-F]{8,8})(?P<seg>[0-9A-F]{8,8})) N/A SEGMENT_READY_REGEXP N/A SEGMENT_REGEXP \.ready N/A BASE_BACKUP_REGEXP N/A N/A base_ SEGMENT_REGEXP _(?P<offset>[0-9A-F]{8}) N/A COMPLETE_BASE_BACKUP_REGEXP N/A N/A base_ SEGMENT_REGEXP _(?P<offset>[0-9A-F]{8})_backup_stop_sentinel\.json N/A VOLUME_REGEXP part_(\d+)\.tar\.lzo SegmentNumber N/A N/A N/A collections namedtuple SegmentNumber N/A log seg N/A as_an_integer N/A N/A self N/A N/A N/A N/A N/A len N/A self log 8 N/A N/A N/A len N/A self seg 8 N/A N/A int N/A N/A self log N/A self seg 16 N/A property _integer_to_name N/A N/A integral N/A N/A N/A h N/A hex integral N/A N/A N/A h startswith 0x N/A N/A N/A len h 10 N/A name N/A N/A N/A N/A N/A N/A hex integral N/A 2 upper zfill 8 N/A N/A N/A len name 8 N/A name N/A staticmethod next_smaller N/A N/A self N/A N/A N/A int_seg N/A int N/A self seg 16 N/A N/A int_seg 255 N/A N/A int_seg 0 N/A N/A int_log N/A int N/A self log 16 N/A N/A int_log 4294967295 N/A N/A N/A int_seg 0 N/A int_log 0 N/A s_log N/A N/A SegmentNumber _integer_to_name N/A int_log 1 N/A s_seg N/A N/A SegmentNumber _integer_to_name 255 N/A N/A N/A self __class__ log s_log seg s_seg N/A N/A N/A int_seg 0 N/A s_log N/A self log N/A s_seg N/A N/A SegmentNumber _integer_to_name N/A int_seg 1 N/A N/A N/A self __class__ log s_log seg s_seg N/A False N/A next_larger N/A N/A self N/A N/A N/A int_seg N/A int N/A self seg 16 N/A N/A int_seg 255 N/A N/A int_seg 255 N/A N/A int_log N/A int N/A self log 16 N/A N/A int_log 4294967295 N/A l_log N/A N/A SegmentNumber _integer_to_name N/A int_log 1 N/A l_seg N/A N/A SegmentNumber _integer_to_name 0 N/A N/A N/A self __class__ l_log l_seg N/A N/A l_log N/A self log N/A l_seg N/A N/A SegmentNumber _integer_to_name N/A int_seg 1 N/A N/A N/A self __class__ l_log l_seg N/A False N/A N/A N/A OBSOLETE_VERSIONS N/A frozenset N/A 004 003 002 001 000 N/A SUPPORTED_STORE_SCHEMES N/A s3 wabs swift BackupInfo N/A object N/A N/A _fields N/A name last_modified expanded_size_bytes wal_segment_backup_start wal_segment_offset_backup_start wal_segment_backup_stop wal_segment_offset_backup_stop __init__ N/A N/A self N/A kwargs N/A N/A field N/A self _fields N/A N/A N/A setattr self field N/A N/A kwargs get field None N/A N/A self layout N/A kwargs N/A layout N/A N/A self spec N/A N/A kwargs get spec N/A N/A N/A self _details_loaded False N/A load_detail N/A N/A self conn N/A N/A N/A N/A NotImplementedError N/A N/A StorageLayout N/A object N/A N/A 
    Encapsulates and defines S3 or Windows Azure Blob Service URL
    path manipulations for WAL-E

    S3:

    Without a trailing slash
    >>> sl = StorageLayout('s3://foo/bar')
    >>> sl.is_s3
    True
    >>> sl.basebackups()
    'bar/basebackups_005/'
    >>> sl.wal_directory()
    'bar/wal_005/'
    >>> sl.store_name()
    'foo'

    With a trailing slash
    >>> sl = StorageLayout('s3://foo/bar/')
    >>> sl.is_s3
    True
    >>> sl.basebackups()
    'bar/basebackups_005/'
    >>> sl.wal_directory()
    'bar/wal_005/'
    >>> sl.store_name()
    'foo'

    WABS:

    Without a trailing slash
    >>> sl = StorageLayout('wabs://foo/bar')
    >>> sl.is_s3
    False
    >>> sl.basebackups()
    'bar/basebackups_005/'
    >>> sl.wal_directory()
    'bar/wal_005/'
    >>> sl.store_name()
    'foo'

    With a trailing slash
    >>> sl = StorageLayout('wabs://foo/bar/')
    >>> sl.is_s3
    False
    >>> sl.basebackups()
    'bar/basebackups_005/'
    >>> sl.wal_directory()
    'bar/wal_005/'
    >>> sl.store_name()
    'foo'

    Swift:

    Without a trailing slash
    >>> sl = StorageLayout('swift://foo/bar')
    >>> sl.is_swift
    True
    >>> sl.basebackups()
    'bar/basebackups_005/'
    >>> sl.wal_directory()
    'bar/wal_005/'
    >>> sl.store_name()
    'foo'

     __init__ N/A N/A self prefix version N/A CURRENT_VERSION N/A N/A N/A self VERSION version N/A url_tup N/A urlparse prefix N/A N/A N/A url_tup scheme SUPPORTED_STORE_SCHEMES N/A N/A N/A N/A N/A wal_e exception UserException msg bad S3, Windows Azure Blob Storage, or OpenStack Swift URL scheme passed detail N/A N/A The scheme {0} was passed when "s3", "wabs", or "swift" was expected. format N/A url_tup scheme N/A scheme SUPPORTED_STORE_SCHEMES N/A N/A N/A setattr self N/A is_%s scheme N/A scheme N/A url_tup scheme N/A N/A self _url_tup url_tup N/A api_path_prefix N/A N/A N/A url_tup path lstrip / N/A N/A api_path_prefix N/A N/A api_path_prefix N/A -1 / N/A N/A N/A self _api_path_prefix N/A api_path_prefix / N/A N/A self _api_prefix N/A prefix / N/A N/A N/A self _api_path_prefix api_path_prefix N/A N/A self _api_prefix prefix N/A scheme N/A N/A self N/A N/A N/A N/A N/A self _url_tup scheme N/A property prefix N/A N/A self N/A N/A N/A N/A self _api_prefix N/A property path_prefix N/A N/A self N/A N/A N/A N/A self _api_path_prefix N/A property _error_on_unexpected_version N/A N/A self N/A N/A N/A N/A N/A self VERSION CURRENT_VERSION N/A N/A N/A ValueError Backwards compatibility of this operator is not implemented N/A basebackups N/A N/A self N/A N/A N/A N/A N/A N/A N/A self _api_path_prefix basebackups_ N/A self VERSION / N/A basebackup_directory N/A N/A self backup_info N/A N/A N/A N/A N/A self _error_on_unexpected_version N/A N/A N/A N/A self basebackups N/A N/A base_{0}_{1}/ format N/A backup_info wal_segment_backup_start N/A backup_info wal_segment_offset_backup_start N/A basebackup_sentinel N/A N/A self backup_info N/A N/A N/A N/A N/A self _error_on_unexpected_version N/A basebackup N/A N/A self basebackup_directory backup_info N/A N/A N/A N/A basebackup rstrip / _backup_stop_sentinel.json N/A basebackup_tar_partition_directory N/A N/A self backup_info N/A N/A N/A N/A N/A self _error_on_unexpected_version N/A N/A N/A N/A self basebackup_directory backup_info tar_partitions/ N/A basebackup_tar_partition N/A N/A self backup_info part_name N/A N/A N/A N/A N/A self _error_on_unexpected_version N/A N/A N/A N/A self basebackup_tar_partition_directory backup_info part_name N/A wal_directory N/A N/A self N/A N/A N/A N/A N/A N/A N/A self _api_path_prefix wal_ N/A self VERSION / N/A wal_path N/A N/A self wal_file_name N/A N/A N/A N/A N/A self _error_on_unexpected_version N/A N/A N/A N/A N/A self wal_directory wal_file_name .lzo N/A store_name N/A N/A self N/A N/A N/A Return either the bucket name (S3) or the account name (Azure).
         N/A N/A N/A self _url_tup netloc N/A key_name N/A N/A self key N/A N/A N/A N/A N/A N/A key name lstrip / N/A key_last_modified N/A N/A self key N/A N/A N/A N/A hasattr key last_modified N/A N/A N/A key last_modified N/A N/A N/A key properties last_modified N/A N/A get_backup_info N/A N/A layout N/A kwargs N/A N/A N/A kwargs N/A layout layout N/A N/A layout is_s3 N/A wal_e.storage.s3_storage S3BackupInfo N/A bi N/A S3BackupInfo kwargs N/A N/A N/A layout is_wabs N/A wal_e.storage.wabs_storage WABSBackupInfo N/A bi N/A WABSBackupInfo kwargs N/A N/A N/A layout is_swift N/A wal_e.storage.swift_storage SwiftBackupInfo N/A bi N/A SwiftBackupInfo kwargs N/A bi N/A