Revision f6c97079 pithos/backends/base.py
b/pithos/backends/base.py | ||
---|---|---|
49 | 49 |
'block_size': Suggested is 4MB |
50 | 50 |
""" |
51 | 51 |
|
52 |
def list_accounts(self, user, marker=None, limit=10000): |
|
53 |
"""Return a list of accounts the user can access. |
|
54 |
|
|
55 |
Parameters: |
|
56 |
'marker': Start list from the next item after 'marker' |
|
57 |
'limit': Number of containers to return |
|
58 |
""" |
|
59 |
return [] |
|
60 |
|
|
52 | 61 |
def get_account_meta(self, user, account, until=None): |
53 | 62 |
"""Return a dictionary with the account metadata. |
54 | 63 |
|
... | ... | |
103 | 112 |
return |
104 | 113 |
|
105 | 114 |
def list_containers(self, user, account, marker=None, limit=10000, until=None): |
106 |
"""Return a list of container (name, version_id) tuples existing under an account.
|
|
115 |
"""Return a list of container names existing under an account.
|
|
107 | 116 |
|
108 | 117 |
Parameters: |
109 | 118 |
'marker': Start list from the next item after 'marker' |
Also available in: Unified diff