1
0
Fork 0
mirror of synced 2024-06-27 02:31:04 +12:00
This commit is contained in:
Damodar Lohani 2021-07-18 12:48:48 +05:45
parent ef56dc33df
commit a3fb635168
2 changed files with 12 additions and 1 deletions

View file

@ -86,6 +86,7 @@ const DELETE_TYPE_EXECUTIONS = 'executions';
const DELETE_TYPE_AUDIT = 'audit';
const DELETE_TYPE_ABUSE = 'abuse';
const DELETE_TYPE_CERTIFICATES = 'certificates';
const DELETE_TYPE_BUCKETS = 'buckets';
// Auth Types
const APP_AUTH_TYPE_SESSION = 'Session';
const APP_AUTH_TYPE_JWT = 'JWT';

View file

@ -76,7 +76,12 @@ class DeletesV1 extends Worker
$document = new Document($this->args['document']);
$this->deleteCertificates($document);
break;
case DELETE_TYPE_BUCKETS:
$bucket = new Document($this->args['document']);
$this->deleteBucket($bucket, $projectId);
break;
default:
Console::error('No delete operation for type: '.$type);
break;
@ -351,6 +356,11 @@ class DeletesV1 extends Worker
Console::info("No certificate files found for {$domain}");
}
}
protected function deleteBucket(Document $document, string $projectId)
{
}
/**
* @param string $projectId