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
+1
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';
+11 -1
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