mirror of
https://github.com/Grace-Solutions/PSMinIO.git
synced 2026-08-10 21:06:58 +00:00
Implement comprehensive MinIO feature set with enterprise-grade functionality
✅ MULTIPART UPLOAD SUPPORT: • MultipartUploadManager with parallel processing and resume capability • Configurable chunk sizes (minimum 5MB for S3 compatibility) • Parallel uploads with semaphore-controlled concurrency • Resume functionality with upload ID and completed parts tracking • Comprehensive progress tracking with speed calculations • New-MinIOObjectMultipart cmdlet with FileInfo support ✅ MULTIPART DOWNLOAD WITH RESUME: • MultipartDownloadManager with parallel processing • Resume capability for interrupted downloads • Range request support for efficient chunked downloads • Enhanced progress tracking for large files • Get-MinIOObjectContentMultipart cmdlet with resume support ✅ PRESIGNED URL GENERATION: • PresignedUrlGenerator with AWS Signature Version 4 • Configurable expiration times (1 second to 7 days) • Permission-based access control (GET, PUT, DELETE, HEAD) • Additional headers support for custom requirements • New-MinIOPresignedUrl and Get-MinIOPresignedUrl cmdlets ✅ BUCKET POLICY MANAGEMENT: • BucketPolicyManager with comprehensive validation • Get, set, delete policy operations with JSON support • Policy validation and formatting capabilities • Built-in policy templates (read-only, read-write) • Get/Set/Remove-MinIOBucketPolicy cmdlets with ShouldProcess ✅ ADVANCED OBJECT METADATA HANDLING: • AdvancedMetadataHandler for S3-compatible metadata • Custom headers and content encoding support • Cache control and expiration settings • Server-side encryption configuration • Object tagging and user metadata support ✅ ARCHITECTURE ENHANCEMENTS: • Thread-safe operations with proper semaphore management • Comprehensive error handling and validation • Progress tracking integration with existing PSMinIO patterns • Consistent parameter naming and PowerShell best practices • Enterprise-grade logging and metrics collection ✅ CMDLET FEATURES: • FileInfo parameter support for type safety • ShouldProcess support for destructive operations • Comprehensive parameter validation and error handling • Always-return object pattern (no PassThru needed) • Pipeline compatibility and verbose logging ✅ PERFORMANCE OPTIMIZATIONS: • Configurable parallel processing (1-10 threads) • Intelligent chunk sizing with S3 compatibility • Memory-efficient streaming operations • Resume capability to minimize data transfer • Real-time speed and ETA calculations Features: True multipart uploads/downloads, presigned URLs, bucket policies, advanced metadata, parallel processing, resume capability, comprehensive progress tracking, and enterprise-grade reliability.
This commit is contained in:
@@ -108,7 +108,7 @@ namespace PSMinIO.Cmdlets
|
||||
{
|
||||
var wildcardPattern = new WildcardPattern(Name, WildcardOptions.IgnoreCase);
|
||||
objects = objects.Where(o => o.Name != null && wildcardPattern.IsMatch(o.Name)).ToList();
|
||||
WriteVerboseMessage("Filtered to {0} objects matching pattern '{1}'", objects.Count, Name);
|
||||
WriteVerboseMessage("Filtered to {0} objects matching pattern '{1}'", objects.Count, Name!);
|
||||
}
|
||||
|
||||
// Apply directory filters
|
||||
|
||||
Reference in New Issue
Block a user