init BucketVersionin api

This commit is contained in:
weisd
2024-10-09 17:38:56 +08:00
parent c9423038da
commit 000866556e
3 changed files with 18 additions and 3 deletions
+16
View File
@@ -850,6 +850,22 @@ impl S3 for FS {
Ok(S3Response::new(DeleteObjectTaggingOutput { version_id: None }))
}
#[tracing::instrument(level = "debug", skip(self))]
async fn get_bucket_versioning(
&self,
_req: S3Request<GetBucketVersioningInput>,
) -> S3Result<S3Response<GetBucketVersioningOutput>> {
Err(s3_error!(NotImplemented, "GetBucketVersioning is not implemented yet"))
}
#[tracing::instrument(level = "debug", skip(self))]
async fn put_bucket_versioning(
&self,
_req: S3Request<PutBucketVersioningInput>,
) -> S3Result<S3Response<PutBucketVersioningOutput>> {
Err(s3_error!(NotImplemented, "PutBucketVersioning is not implemented yet"))
}
}
#[allow(dead_code)]