Definition at line 87 of file s3api.py.
|
| _get_bucket_name (self, request) |
|
| _extract_key (self, request) |
|
| _generate_get_objects_result (self, Dict[str, S3Object] s3_objects_dict, int max_keys, Optional[str] marker) |
|
| _generate_get_objects_xml (self, List[S3Object] s3_objects, str bucket_name, str prefix, Optional[int] max_keys, Optional[str] marker, bool is_truncated) |
|
◆ __init__()
pytest_userver.plugins.s3api.S3HandleMock.__init__ |
( |
| self, |
|
|
| mockserver, |
|
|
| s3_mock_storage, |
|
|
| mock_base_url ) |
◆ _extract_key()
pytest_userver.plugins.s3api.S3HandleMock._extract_key |
( |
| self, |
|
|
| request ) |
|
protected |
◆ _generate_get_objects_result()
pytest_userver.plugins.s3api.S3HandleMock._generate_get_objects_result |
( |
| self, |
|
|
Dict[str, S3Object] | s3_objects_dict, |
|
|
int | max_keys, |
|
|
Optional[str] | marker ) |
|
protected |
◆ _generate_get_objects_xml()
pytest_userver.plugins.s3api.S3HandleMock._generate_get_objects_xml |
( |
| self, |
|
|
List[S3Object] | s3_objects, |
|
|
str | bucket_name, |
|
|
str | prefix, |
|
|
Optional[int] | max_keys, |
|
|
Optional[str] | marker, |
|
|
bool | is_truncated ) |
|
protected |
◆ _get_bucket_name()
pytest_userver.plugins.s3api.S3HandleMock._get_bucket_name |
( |
| self, |
|
|
| request ) |
|
protected |
◆ copy_object()
pytest_userver.plugins.s3api.S3HandleMock.copy_object |
( |
| self, |
|
|
| request ) |
◆ delete_object()
pytest_userver.plugins.s3api.S3HandleMock.delete_object |
( |
| self, |
|
|
| request ) |
◆ get_object()
pytest_userver.plugins.s3api.S3HandleMock.get_object |
( |
| self, |
|
|
| request ) |
◆ get_object_head()
pytest_userver.plugins.s3api.S3HandleMock.get_object_head |
( |
| self, |
|
|
| request ) |
◆ get_objects()
pytest_userver.plugins.s3api.S3HandleMock.get_objects |
( |
| self, |
|
|
| request ) |
◆ put_object()
pytest_userver.plugins.s3api.S3HandleMock.put_object |
( |
| self, |
|
|
| request ) |
◆ _base_url
pytest_userver.plugins.s3api.S3HandleMock._base_url |
|
protected |
◆ _mockserver
pytest_userver.plugins.s3api.S3HandleMock._mockserver |
|
protected |
◆ _storage
pytest_userver.plugins.s3api.S3HandleMock._storage |
|
protected |
The documentation for this class was generated from the following file:
- /data/code/userver/testsuite/pytest_plugins/pytest_userver/plugins/s3api.py