Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for TrimSuffix (0.07 sec)

  1. cmd/warm-backend-minio.go

    	core := &minio.Core{Client: client}
    	return &warmBackendMinIO{
    		warmBackendS3{
    			client: client,
    			core:   core,
    			Bucket: conf.Bucket,
    			Prefix: strings.TrimSuffix(conf.Prefix, slashSeparator),
    		},
    	}, nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. cmd/warm-backend-s3.go

    	core := &minio.Core{Client: client}
    	return &warmBackendS3{
    		client:       client,
    		core:         core,
    		Bucket:       conf.Bucket,
    		Prefix:       strings.TrimSuffix(conf.Prefix, slashSeparator),
    		StorageClass: conf.StorageClass,
    	}, nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. cmd/warm-backend-azure.go

    	clnt, err := azureConf{conf}.NewClient()
    	if err != nil {
    		return nil, err
    	}
    
    	return &warmBackendAzure{
    		clnt:         clnt,
    		Bucket:       conf.Bucket,
    		Prefix:       strings.TrimSuffix(conf.Prefix, slashSeparator),
    		StorageClass: conf.StorageClass,
    	}, nil
    }
    
    // Convert azure errors to minio object layer errors.
    func azureToObjectError(err error, params ...string) error {
    	if err == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. cmd/iam.go

    		policyMapFile := strings.TrimPrefix(event.keyPath, iamConfigPolicyDBUsersPrefix)
    		user := strings.TrimSuffix(policyMapFile, ".json")
    		err = sys.store.PolicyMappingNotificationHandler(ctx, user, false, regUser)
    	case policyDBSTSUsersPrefix:
    		policyMapFile := strings.TrimPrefix(event.keyPath, iamConfigPolicyDBSTSUsersPrefix)
    		user := strings.TrimSuffix(policyMapFile, ".json")
    		err = sys.store.PolicyMappingNotificationHandler(ctx, user, false, stsUser)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  5. cmd/data-scanner.go

    			len(existingFolders)+len(newFolders) >= dataScannerForceCompactAtFolders
    
    		if totalFolders := len(existingFolders) + len(newFolders); totalFolders > int(scannerExcessFolders.Load()) {
    			prefixName := strings.TrimSuffix(folder.name, "/") + "/"
    			sendEvent(eventArgs{
    				EventName:  event.PrefixManyFolders,
    				BucketName: f.root,
    				Object: ObjectInfo{
    					Name: prefixName,
    					Size: int64(totalFolders),
    				},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
Back to top