ogclient/src
Alejandro Sirgo Rica fe40f9c5d6 src: add POST cache/fetch method
Add API REST method to fetch an image.
Consolidate image fetch loging for cache/fetch and image/restore.

Resquest payload structure:
{
    'image': 'linux.img'
    'type': 'TIPTORRENT'
    'repository': '12.141.10.2'
}

The client will try to fetch'image' from 'repository' into cache.

Resquest response structure:
{
    'cache': [
        {'name': 'windows.img', 'size': 2432370213, checksum: '5d4dcc677bc19f40a647d0002f4ade90'},
        {'name': 'linux.img', 'size': 243234534213, checksum: '3eb22f888f88a55ad954f55644e1192e'}
    ]
}
2024-08-09 11:04:56 +02:00
..
linux src: add POST cache/fetch method 2024-08-09 11:04:56 +02:00
live src: add POST cache/fetch method 2024-08-09 11:04:56 +02:00
utils postinstall: ignore output when invoking legacy scripts 2024-08-08 13:36:32 +02:00
virtual src: add POST cache/fetch method 2024-08-09 11:04:56 +02:00
windows src: add POST cache/fetch method 2024-08-09 11:04:56 +02:00
__init__.py ogClient is AGPLv3+ 2021-05-14 00:19:28 +02:00
log.py src: log backtrace in unhandled error cases 2024-04-03 13:31:10 +02:00
ogClient.py ogclient: remove external reference 2024-08-06 10:56:30 +02:00
ogRest.py src: add POST cache/fetch method 2024-08-09 11:04:56 +02:00
restRequest.py src: add POST cache/fetch method 2024-08-09 11:04:56 +02:00