Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 137 for exists (0.2 sec)

  1. cmd/bucket-lifecycle.go

    		return fmt.Errorf("Days cannot be specified with SELECT restore request")
    	}
    	if r.Days == 0 && r.Type != SelectRestoreRequest {
    		return fmt.Errorf("restoration days should be at least 1")
    	}
    	// Check if bucket exists.
    	if !r.OutputLocation.IsEmpty() {
    		if _, err := objAPI.GetBucketInfo(ctx, r.OutputLocation.S3.BucketName, BucketOptions{}); err != nil {
    			return err
    		}
    		if r.OutputLocation.S3.Prefix == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-decom.go

    					// Apply lifecycle rules on the objects that are expired.
    					if filterLifecycle(bi.Name, version.Name, version) {
    						continue
    					}
    
    					// `.usage-cache.bin` still exists, must be not readable ignore it.
    					if bi.Name == minioMetaBucket && strings.Contains(version.Name, dataUsageCacheName) {
    						// skipping bucket usage cache name, as its autogenerated.
    						continue
    					}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  3. cmd/encryption-v1.go

    	errKMSKeyNotFound                 = errors.New("Unknown KMS key ID")
    	errKMSDefaultKeyAlreadyConfigured = errors.New("A default encryption already exists on KMS")
    	// Additional MinIO errors for SSE-C requests.
    	errObjectTampered = errors.New("The requested object was modified and may be compromised")
    	// error returned when invalid encryption parameters are specified
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  4. cmd/storage-rest-server.go

    	}
    	volume := p.Volume
    	filePath := p.FilePath
    
    	return grid.NewNPErr(s.getStorage().UpdateMetadata(context.Background(), volume, filePath, p.FI, p.UpdateOpts))
    }
    
    // CheckPartsHandler - check if a file metadata exists.
    func (s *storageRESTServer) CheckPartsHandler(p *CheckPartsHandlerParams) (grid.NoPayload, *grid.RemoteErr) {
    	if !s.checkID(p.DiskID) {
    		return grid.NewNPErr(errDiskNotFound)
    	}
    	volume := p.Volume
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  5. cmd/iam-store.go

    	defer func() {
    		cache.updatedAt = time.Now()
    	}()
    
    	cred := m[accessKey].Credentials
    	switch userType {
    	case stsUser:
    		// For STS accounts a policy is mapped to the parent user (if a mapping exists).
    		err = store.loadMappedPolicy(ctx, cred.ParentUser, userType, false, cache.iamSTSPolicyMap)
    	case svcUser:
    		// For service accounts, the parent may be a regular (internal) IDP
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  6. cmd/bucket-replication.go

    				sendEvent(eventArgs{
    					EventName:  event.ObjectReplicationNotTracked,
    					BucketName: bucket,
    					Object:     objInfo,
    					UserAgent:  "Internal: [Replication]",
    					Host:       globalLocalNodeName,
    				})
    			}
    			// object with same VersionID already exists, replication kicked off by
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  7. cmd/object-api-multipart_test.go

    		// Part number 0 doesn't exist, expecting InvalidPart error (Test number 12).
    		{bucketNames[0], objectNames[0], uploadIDs[0], []CompletePart{{ETag: "abcd", PartNumber: 0}}, "", InvalidPart{}, false},
    		// // Upload and PartNumber exists, But a deliberate ETag mismatch is introduced (Test number 13).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  8. helm/minio/templates/_helper_create_user.txt

        echo \"Failed attempts: $ATTEMPTS\" ;
        if [ $ATTEMPTS -gt $LIMIT ]; then
          exit 1 ;
        fi ;
        sleep 2 ; # 1 second intervals between attempts
        $MC_COMMAND ;
        STATUS=$? ;
      done ;
      set -e ; # reset `e` as active
      return 0
    }
    
    # checkUserExists ()
    # Check if the user exists, by using the exit code of `mc admin user info`
    checkUserExists() {
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Dec 12 23:43:32 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  9. cmd/xl-storage_test.go

    		// Validate volume does not exist.
    		{
    			volume: "i-dont-exist",
    			path:   "",
    			err:    errVolumeNotFound,
    		},
    		// TestXLStorage case - 2.
    		// Validate bad condition file does not exist.
    		{
    			volume: "exists",
    			path:   "as-file-not-found",
    			err:    errFileNotFound,
    		},
    		// TestXLStorage case - 3.
    		// Validate bad condition file exists as prefix/directory and
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  10. cmd/dummy-handlers.go

    	if s3Error := checkRequestAuthType(ctx, r, policy.GetBucketPolicyAction, bucket, ""); s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	// Validate if bucket exists, before proceeding further...
    	_, err := objAPI.GetBucketInfo(ctx, bucket, BucketOptions{})
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 7.1K bytes
    - Viewed (0)
Back to top