Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for exists (0.22 sec)

  1. cmd/object-api-errors.go

    }
    
    // ObjectAlreadyExists object already exists.
    type ObjectAlreadyExists GenericError
    
    func (e ObjectAlreadyExists) Error() string {
    	return "Object: " + e.Bucket + "/" + e.Object + " already exists"
    }
    
    // ObjectExistsAsDirectory object already exists as a directory.
    type ObjectExistsAsDirectory GenericError
    
    func (e ObjectExistsAsDirectory) Error() string {
    	return "Object exists on : " + e.Bucket + " as directory " + e.Object
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  2. cmd/erasure-common.go

    			if disks[i] == nil {
    				continue
    			}
    			select {
    			case <-ctx.Done():
    			case gotFile, ok := <-resps[i]:
    				if !ok {
    					continue
    				}
    				if gotFile.Error != "" || !gotFile.Exists {
    					continue
    				}
    				if gotFile.File != wantFile || gotFile.Bucket != req.Bucket || gotFile.Prefix != req.Prefix {
    					continue
    				}
    				quorum++
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  3. cmd/iam.go

    		}
    
    		hasDiff := false
    
    		// For the parent value, we require that the parent exists in the LDAP
    		// server and is under a configured base DN.
    		validatedParent, isUnderBaseDN, err := sys.LDAPConfig.GetValidatedUserDN(conn, parent)
    		if err != nil {
    			collectedErrors = append(collectedErrors, fmt.Errorf("could not validate `%s` exists in LDAP directory: %w", parent, err))
    			continue
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  4. cmd/api-errors.go

    		Code:           "XMinioAdminBucketRemoteAlreadyExists",
    		Description:    "The remote target already exists",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrBucketRemoteLabelInUse: {
    		Code:           "XMinioAdminBucketRemoteLabelInUse",
    		Description:    "The remote target with this label already exists",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrBucketRemoteRemoveDisallowed: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  5. cmd/bucket-targets.go

    	}
    	clnt, err := sys.getRemoteTargetClient(tgt)
    	if err != nil {
    		return BucketRemoteTargetNotFound{Bucket: tgt.TargetBucket, Err: err}
    	}
    	// validate if target credentials are ok
    	exists, err := clnt.BucketExists(ctx, tgt.TargetBucket)
    	if err != nil {
    		switch minio.ToErrorResponse(err).Code {
    		case "NoSuchBucket":
    			return BucketRemoteTargetNotFound{Bucket: tgt.TargetBucket, Err: err}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  6. buildscripts/minio-iam-ldap-upgrade-import-test.sh

    	mc admin cluster iam export old-minio
    	set +x
    
    	mc admin service stop old-minio
    }
    
    import_iam_content_in_new_minio() {
    	echo "Importing IAM content in new minio instance."
    	# Assume current minio binary exists.
    	MINIO_CI_CD=1 ./minio server /tmp/data/{1...4} &
    	sleep 5
    
    	set -x
    	mc alias set new-minio http://localhost:9000 minioadmin minioadmin
    	echo "BEFORE IMPORT mappings:"
    	mc idp ldap policy entities new-minio
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:49:53 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  7. cmd/update.go

    	return env.Get("KUBERNETES_SERVICE_HOST", "") != ""
    }
    
    // IsBOSH returns true if minio is deployed from a bosh package
    func IsBOSH() bool {
    	// "/var/vcap/bosh" exists in BOSH deployed instance.
    	_, err := os.Stat("/var/vcap/bosh")
    	if osIsNotExist(err) {
    		return false
    	}
    
    	// Log error, as we will not propagate it to caller
    	internalLogIf(GlobalContext, err)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool.go

    	}
    	return pinfo.Index, nil
    }
    
    // getPoolIdxExistingNoLock returns the (first) found object pool index containing an object.
    // If the object exists, but the latest version is a delete marker, the index with it is still returned.
    // If the object does not exist ObjectNotFound error is returned.
    // If any other error is found, it is returned.
    // The check is skipped if there is only one pool, and 0, nil is always returned in that case.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  9. cmd/object-handlers.go

    			w.Header()[xhttp.AmzDeleteMarker] = []string{strconv.FormatBool(objInfo.DeleteMarker)}
    		}
    
    		QueueReplicationHeal(ctx, bucket, objInfo, 0)
    		// do an additional verification whether object exists when object is deletemarker and request
    		// is from replication
    		if opts.CheckDMReplicationReady {
    			topts := opts
    			topts.VersionID = ""
    			goi, gerr := getObjectInfo(ctx, bucket, object, topts)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  10. helm/minio/values.yaml

        requests:
          memory: 128Mi
      # Command to run after the main command on exit
      exitCommand: ""
    
    ## List of buckets to be created after minio install
    ##
    buckets: []
      #   # Name of the bucket
      # - name: bucket1
      #   # Policy to be set on the
      #   # bucket [none|download|upload|public]
      #   policy: none
      #   # Purge if bucket exists already
      #   purge: false
      #   # set versioning for
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 10:14:37 GMT 2024
    - 18.4K bytes
    - Viewed (0)
Back to top