Skip to main content

Module cloud_object

Module cloud_object 

Source
Expand description

cloud.object.* verb signatures — object-storage bucket lifecycle (R409-T6).

Three verbs that cover the bucket plane shared by Cloudflare R2 and Hetzner Object Storage:

  • cloud.object.bucket.create — provision a bucket
  • cloud.object.bucket.delete — tear it down
  • cloud.object.bucket.exists — probe presence without side effects

ACL management (cloud.object.bucket.acl.set from W144) is not modelled here — Cloudflare R2 exposes public access via custom domains and Workers, not per-bucket ACLs in the S3 sense. A future ticket can add it once a second tier-S object-storage provider (Hetzner) is wired through the envoy framework and the shape can be validated against both.

location_hint is optional in CloudObjectBucketCreateInput so that Cloudflare (global, hint-only) and Hetzner (region-required) can diverge in adapter-side interpretation without changing the wire shape.

Structs§

CloudObjectBucketCreate
Marker type for the cloud.object.bucket.create verb.
CloudObjectBucketCreateInput
Request body for cloud.object.bucket.create.
CloudObjectBucketCreateOutput
Response body for cloud.object.bucket.create.
CloudObjectBucketDelete
Marker type for the cloud.object.bucket.delete verb.
CloudObjectBucketDeleteInput
Request body for cloud.object.bucket.delete.
CloudObjectBucketDeleteOutput
Response body for cloud.object.bucket.delete. Empty — idempotent; Ok whether the bucket existed or was already gone.
CloudObjectBucketExists
Marker type for the cloud.object.bucket.exists verb.
CloudObjectBucketExistsInput
Request body for cloud.object.bucket.exists.
CloudObjectBucketExistsOutput
Response body for cloud.object.bucket.exists.