Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 137 for exists (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. cmd/metrics.go

    // collects healing specific metrics for MinIO instance in Prometheus specific format
    // and sends to given channel
    func healingMetricsPrometheus(ch chan<- prometheus.Metric) {
    	bgSeq, exists := globalBackgroundHealState.getHealSequenceByToken(bgHealingUUID)
    	if !exists {
    		return
    	}
    
    	var dur time.Duration
    	if !bgSeq.lastHealActivity.IsZero() {
    		dur = time.Since(bgSeq.lastHealActivity)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  5. cmd/listen-notification-handlers.go

    func (api objectAPIHandlers) ListenNotificationHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "ListenNotification")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	// Validate if bucket exists.
    	objAPI := api.ObjectAPI()
    	if objAPI == nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return
    	}
    
    	vars := mux.Vars(r)
    	bucketName := vars["bucket"]
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. internal/config/identity/openid/openid.go

    			}
    		}
    		res = append(res, madmin.IDPCfgInfo{
    			Key:   kvsrc.Key,
    			Value: kvsrc.Value,
    			IsCfg: true,
    			IsEnv: kvsrc.Src == config.ValueSourceEnv,
    		})
    	}
    
    	if provCfg, exists := r.ProviderCfgs[cfgName]; exists && provCfg.RolePolicy != "" {
    		// Append roleARN
    		res = append(res, madmin.IDPCfgInfo{
    			Key:   "roleARN",
    			Value: provCfg.roleArn.String(),
    			IsCfg: false,
    		})
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  7. cmd/storage-errors.go

    var errFileNameTooLong = StorageErr("file name too long")
    
    // errVolumeExists - cannot create same volume again.
    var errVolumeExists = StorageErr("volume already exists")
    
    // errIsNotRegular - not of regular file type.
    var errIsNotRegular = StorageErr("not of regular file type")
    
    // errPathNotFound - cannot find the path.
    var errPathNotFound = StorageErr("path not found")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  8. cmd/object-api-input-checks.go

    }
    
    // Checks for PutObjectPart arguments validity, also validates if bucket exists.
    func checkPutObjectPartArgs(ctx context.Context, bucket, object, uploadID string) error {
    	return checkMultipartObjectArgs(ctx, bucket, object, uploadID)
    }
    
    // Checks for ListParts arguments validity, also validates if bucket exists.
    func checkListPartsArgs(ctx context.Context, bucket, object, uploadID string) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  9. 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)
  10. cmd/admin-bucket-handlers.go

    	}
    
    	target.SourceBucket = bucket
    	var ops []madmin.TargetUpdateType
    	if update {
    		ops = madmin.GetTargetUpdateOps(r.Form)
    	} else {
    		var exists bool // true if arn exists
    		target.Arn, exists = globalBucketTargetSys.getRemoteARN(bucket, &target, "")
    		if exists && target.Arn != "" { // return pre-existing ARN
    			data, err := json.Marshal(target.Arn)
    			if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
Back to top