mirror of
https://github.com/minio/minio.git
synced 2026-11-19 23:03:17 +00:00
gcs: Check if the given project id argument exists (#4583)
Using GCS resource manager API, check if the provided project id is already created and associated to the current user account.
This commit is contained in:
1 parent
6b70f429ed
commit
eaa41e4086
6 files changed
+7864
-10
No files matched your search
@@ -19,9 +19,12 @@ package cmd
|
||||
import "errors"
|
||||
|
||||
var (
|
||||
// ProjectID format is not valid.
|
||||
// Project ID format is not valid.
|
||||
errGCSInvalidProjectID = errors.New("GCS project id is either empty or invalid")
|
||||
|
||||
// Project ID not found
|
||||
errGCSProjectIDNotFound = errors.New("unknown project id")
|
||||
|
||||
// Multipart identifier is not in the correct form.
|
||||
errGCSNotValidMultipartIdentifier = errors.New("Not a valid multipart identifier")
|
||||
)
|
||||
Reference in new issue
Block a user