StorageBackendKind
Which storage protocol a backend speaks. Discriminates which of the kind-specific config blocks on StorageBackendOutput is populated, and which input fields the upsert/create mutations require. HOST_PATH is only accepted when the deployment sets STORAGE_HOSTPATH_ROOT; GOOGLE_DRIVE and DROPBOX backends can only be created through the OAuth consent flow.
Values
S3
S3-compatible object storage, addressed by endpoint, region and bucket. Covers AWS S3 and any compatible implementation — MinIO, Ceph, R2 — which is why the endpoint is configured rather than derived.
HOST_PATH
A directory on the machine running the server. Accepted only when the deployment sets STORAGE_HOSTPATH_ROOT, and every path is confined beneath it, so a tenant cannot reach the rest of the filesystem.
FTP
An FTP server, addressed by host, port and a rooted path.
GOOGLE_DRIVE
Google Drive, reached with a token the user granted through the OAuth consent flow. Cannot be created by supplying credentials directly.
DROPBOX
Dropbox, reached with a token the user granted through the OAuth consent flow. Cannot be created by supplying credentials directly.
Referenced by (0)
Exact type SDL
"""
Which storage protocol a backend speaks. Discriminates which of the kind-specific config blocks on StorageBackendOutput is populated, and which input fields the upsert/create mutations require. HOST_PATH is only accepted when the deployment sets STORAGE_HOSTPATH_ROOT; GOOGLE_DRIVE and DROPBOX backends can only be created through the OAuth consent flow.
"""
enum StorageBackendKind {
"""
S3-compatible object storage, addressed by endpoint, region and bucket. Covers AWS S3 and any compatible implementation — MinIO, Ceph, R2 — which is why the endpoint is configured rather than derived.
"""
S3
"""
A directory on the machine running the server. Accepted only when the deployment sets STORAGE_HOSTPATH_ROOT, and every path is confined beneath it, so a tenant cannot reach the rest of the filesystem.
"""
HOST_PATH
"""An FTP server, addressed by host, port and a rooted path."""
FTP
"""
Google Drive, reached with a token the user granted through the OAuth consent flow. Cannot be created by supplying credentials directly.
"""
GOOGLE_DRIVE
"""
Dropbox, reached with a token the user granted through the OAuth consent flow. Cannot be created by supplying credentials directly.
"""
DROPBOX
}