refactor: narrow IAM and Swift compatibility surfaces (#3587)

* refactor: narrow IAM and Swift compatibility surfaces

* refactor: narrow heal and scanner compatibility surfaces (#3588)

* refactor: narrow RustFS runtime compatibility surfaces (#3591)
This commit is contained in:
安正超
2026-06-19 03:06:57 +08:00
committed by GitHub
parent 9b1272529a
commit b14e49e84e
15 changed files with 696 additions and 271 deletions
@@ -427,36 +427,10 @@ cat >"$ECSTORE_COMPAT_PASSTHROUGH_EXPECTED_FILE" <<'EOF'
crates/e2e_test/src/storage_compat.rs:bucket
crates/e2e_test/src/storage_compat.rs:disk
crates/e2e_test/src/storage_compat.rs:rpc
crates/heal/src/heal/storage_compat.rs:data_usage
crates/heal/src/heal/storage_compat.rs:disk
crates/heal/src/heal/storage_compat.rs:error
crates/heal/src/heal/storage_compat.rs:global
crates/heal/src/heal/storage_compat.rs:store
crates/heal/tests/common/storage_compat.rs:bucket
crates/heal/tests/common/storage_compat.rs:disk
crates/heal/tests/common/storage_compat.rs:endpoints
crates/heal/tests/common/storage_compat.rs:store
crates/iam/src/storage_compat.rs:config
crates/iam/src/storage_compat.rs:error
crates/iam/src/storage_compat.rs:global
crates/iam/src/storage_compat.rs:notification_sys
crates/iam/src/storage_compat.rs:store
crates/protocols/src/swift/storage_compat.rs:bucket
crates/protocols/src/swift/storage_compat.rs:error
crates/protocols/src/swift/storage_compat.rs:resolve_object_store_handle
crates/protocols/src/swift/storage_compat.rs:store
crates/scanner/src/storage_compat.rs:bucket
crates/scanner/src/storage_compat.rs:cache_value
crates/scanner/src/storage_compat.rs:config
crates/scanner/src/storage_compat.rs:data_usage
crates/scanner/src/storage_compat.rs:disk
crates/scanner/src/storage_compat.rs:error
crates/scanner/src/storage_compat.rs:global
crates/scanner/src/storage_compat.rs:pools
crates/scanner/src/storage_compat.rs:resolve_object_store_handle
crates/scanner/src/storage_compat.rs:set_disk
crates/scanner/src/storage_compat.rs:store
crates/scanner/src/storage_compat.rs:store_utils
crates/scanner/tests/common/storage_compat.rs:bucket
crates/scanner/tests/common/storage_compat.rs:client
crates/scanner/tests/common/storage_compat.rs:disk
@@ -466,68 +440,6 @@ crates/scanner/tests/common/storage_compat.rs:pools
crates/scanner/tests/common/storage_compat.rs:store
crates/scanner/tests/common/storage_compat.rs:tier
fuzz/fuzz_targets/storage_compat.rs:bucket
rustfs/src/admin/storage_compat.rs:bucket
rustfs/src/admin/storage_compat.rs:client
rustfs/src/admin/storage_compat.rs:config
rustfs/src/admin/storage_compat.rs:data_usage
rustfs/src/admin/storage_compat.rs:disk
rustfs/src/admin/storage_compat.rs:endpoints
rustfs/src/admin/storage_compat.rs:error
rustfs/src/admin/storage_compat.rs:global
rustfs/src/admin/storage_compat.rs:metrics_realtime
rustfs/src/admin/storage_compat.rs:notification_sys
rustfs/src/admin/storage_compat.rs:rebalance
rustfs/src/admin/storage_compat.rs:rpc
rustfs/src/admin/storage_compat.rs:store
rustfs/src/admin/storage_compat.rs:store_utils
rustfs/src/admin/storage_compat.rs:tier
rustfs/src/app/storage_compat.rs:admin_server_info
rustfs/src/app/storage_compat.rs:bucket
rustfs/src/app/storage_compat.rs:client
rustfs/src/app/storage_compat.rs:compress
rustfs/src/app/storage_compat.rs:config
rustfs/src/app/storage_compat.rs:data_usage
rustfs/src/app/storage_compat.rs:disk
rustfs/src/app/storage_compat.rs:endpoints
rustfs/src/app/storage_compat.rs:error
rustfs/src/app/storage_compat.rs:global
rustfs/src/app/storage_compat.rs:new_object_layer_fn
rustfs/src/app/storage_compat.rs:notification_sys
rustfs/src/app/storage_compat.rs:pools
rustfs/src/app/storage_compat.rs:rio
rustfs/src/app/storage_compat.rs:set_disk
rustfs/src/app/storage_compat.rs:set_object_store_resolver
rustfs/src/app/storage_compat.rs:store
rustfs/src/app/storage_compat.rs:tier
rustfs/src/storage/storage_compat.rs:admin_server_info
rustfs/src/storage/storage_compat.rs:bucket
rustfs/src/storage/storage_compat.rs:client
rustfs/src/storage/storage_compat.rs:config
rustfs/src/storage/storage_compat.rs:disk
rustfs/src/storage/storage_compat.rs:error
rustfs/src/storage/storage_compat.rs:get_global_lock_client
rustfs/src/storage/storage_compat.rs:global
rustfs/src/storage/storage_compat.rs:metrics_realtime
rustfs/src/storage/storage_compat.rs:resolve_object_store_handle
rustfs/src/storage/storage_compat.rs:rio
rustfs/src/storage/storage_compat.rs:rpc
rustfs/src/storage/storage_compat.rs:set_disk
rustfs/src/storage/storage_compat.rs:store
rustfs/src/storage_compat.rs:bucket
rustfs/src/storage_compat.rs:config
rustfs/src/storage_compat.rs:disk
rustfs/src/storage_compat.rs:disks_layout
rustfs/src/storage_compat.rs:endpoints
rustfs/src/storage_compat.rs:error
rustfs/src/storage_compat.rs:event_notification
rustfs/src/storage_compat.rs:global
rustfs/src/storage_compat.rs:notification_sys
rustfs/src/storage_compat.rs:resolve_object_store_handle
rustfs/src/storage_compat.rs:rpc
rustfs/src/storage_compat.rs:set_disk
rustfs/src/storage_compat.rs:set_global_endpoints
rustfs/src/storage_compat.rs:store
rustfs/src/storage_compat.rs:update_erasure_type
EOF
sort -o "$ECSTORE_COMPAT_PASSTHROUGH_EXPECTED_FILE" "$ECSTORE_COMPAT_PASSTHROUGH_EXPECTED_FILE"