Expand description
Provider compatibility flags.
CompatFlags controls per-profile S3 compatibility knobs for providers
such as MinIO, Cloudflare R2, Wasabi, and LocalStack.
§OCP contract
Adding a new flag means adding one field here. The flags_schema version
field is the contract: existing consumers are forward-compat via the
unknown passthrough map. Removing or renaming a field is a breaking
change that requires a schema version bump.
§Versioning
flags_schema = 1 covers all v1 flags. Unknown fields written by a newer
version of the app are preserved in unknown so a downgrade does not lose
custom configuration.
Structs§
- Compat
Flag Apply - Result of applying
CompatFlagsonto anS3ConfigBuilder. - Compat
Flags - Per-profile compatibility flags for S3-compatible storage providers.
Enums§
- Addressing
Style - S3 bucket addressing style applied to every request for this profile.
- Bucket
Name Validation - Whether bucket names must follow strict AWS naming rules or a relaxed set.
- Checksum
Mode - Whether the SDK should compute and send payload checksums.
- Signature
Version - Signature algorithm used to sign requests for this profile.
Constants§
- CURRENT_
FLAGS_ SCHEMA - The current schema version understood by this build.
Functions§
- apply_
to_ s3_ config_ builder - Apply all v1 compat flags from
flagsontobuilderand return the updated builder together with any warnings. - default_
flags_ 🔒schema - default_
true 🔒