mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-22 08:00:53 +00:00
* chore: update dependencies and migrate S3 client to MinIO SDK - Removed AWS SDK dependency and replaced S3 client implementation with MinIO SDK. - Updated various dependencies in go.mod and go.sum, including version upgrades for `klauspost/compress`, `minio/minio-go`, and `rs/xid`. - Adjusted S3 client methods to utilize MinIO's API for bucket listing, object existence checks, uploads, downloads, and deletions. * refactor: enhance S3 client with context management and TLS support - Introduced context management with timeouts for S3 client operations to improve reliability. - Added TLS configuration to support secure connections based on the endpoint scheme. - Updated S3 client methods to utilize the new context and transport settings for enhanced performance and security. --------- Co-authored-by: ssongliu <sloooop1x@gmail.com>