2022-04-26 19:48:03 +00:00
|
|
|
<?php
|
|
|
|
namespace fox;
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* Interface fox\objectStorageClient
|
|
|
|
*
|
|
|
|
* @copyright MX STAR LLC 2018-2022
|
|
|
|
* @version 4.0.0
|
|
|
|
* @author Pavel Dmitriev
|
|
|
|
* @license GPLv3
|
|
|
|
*
|
|
|
|
**/
|
|
|
|
|
|
|
|
interface objectStorageClient
|
|
|
|
{
|
|
|
|
|
|
|
|
public function getObject($bucket, $key);
|
|
|
|
|
|
|
|
public function putObject($bucket, $key, $data);
|
|
|
|
|
|
|
|
public function deleteObject($bucket, $key);
|
|
|
|
|
|
|
|
public function listObjects($bucket);
|
|
|
|
|
|
|
|
public function exec($method, $args = []);
|
|
|
|
|
|
|
|
public function createBucket($bucket);
|
|
|
|
|
|
|
|
public function deleteBucket($bucket);
|
2022-08-13 09:31:47 +00:00
|
|
|
|
|
|
|
public function headBucket($bucket);
|
|
|
|
|
|
|
|
public function headObject($bucket, $key);
|
2022-04-26 19:48:03 +00:00
|
|
|
}
|
|
|
|
?>
|