Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Valid (0.13 sec)

  1. internal/bucket/lifecycle/rule.go

    )
    
    // validateID - checks if ID is valid or not.
    func (r Rule) validateID() error {
    	if len(r.ID) > 255 {
    		return errInvalidRuleID
    	}
    	return nil
    }
    
    // validateStatus - checks if status is valid or not.
    func (r Rule) validateStatus() error {
    	// Status can't be empty
    	if len(r.Status) == 0 {
    		return errEmptyRuleStatus
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    	},
    	ErrInvalidBucketName: {
    		Code:           "InvalidBucketName",
    		Description:    "The specified bucket is not valid.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidDigest: {
    		Code:           "InvalidDigest",
    		Description:    "The Content-Md5 you specified is not valid.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidRange: {
    		Code:           "InvalidRange",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  3. cmd/object-api-errors.go

    	return "Remote with this label already exists for this bucket: " + e.Bucket
    }
    
    // BucketRemoteArnTypeInvalid arn type for remote is not valid.
    type BucketRemoteArnTypeInvalid GenericError
    
    func (e BucketRemoteArnTypeInvalid) Error() string {
    	return "Remote ARN type not valid: " + e.Bucket
    }
    
    // BucketRemoteArnInvalid arn needs to be specified.
    type BucketRemoteArnInvalid GenericError
    
    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)
  4. cmd/object-handlers.go

    // GetObjectAttributes ...
    func (api objectAPIHandlers) getObjectAttributesHandler(ctx context.Context, objectAPI ObjectLayer, bucket, object string, w http.ResponseWriter, r *http.Request) {
    	opts, valid := getAndValidateAttributesOpts(ctx, w, r, bucket, object)
    	if !valid {
    		return
    	}
    
    	var s3Error APIErrorCode
    	if opts.VersionID != "" {
    		s3Error = checkRequestAuthType(ctx, r, policy.GetObjectVersionAttributesAction, bucket, object)
    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)
  5. cmd/httprange_test.go

    		"bytes==1-10",
    		"bytes=",
    		"bytes=aa",
    		"aa",
    		"",
    		"bytes=1-10-",
    		"bytes=1--10",
    		"bytes=-1-10",
    		"bytes=0-+3",
    		"bytes=+3-+5",
    		"bytes=10-11,12-10", // Unsupported by S3/MinIO (valid in RFC)
    	}
    	for i, urs := range unparsableRangeSpecs {
    		rs, err := parseRequestRangeSpec(urs)
    		if err == nil {
    			t.Errorf("Case %d: Did not get an expected error - got %v", i, rs)
    		}
    		if isErrInvalidRange(err) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  6. cmd/erasure-object.go

    			}
    		}
    		return ObjectInfo{}, toObjectErr(err, srcBucket, srcObject)
    	}
    
    	// List all online disks.
    	onlineDisks, modTime, etag := listOnlineDisks(storageDisks, metaArr, errs, readQuorum)
    
    	// Pick latest valid metadata.
    	fi, err := pickValidFileInfo(ctx, metaArr, modTime, etag, readQuorum)
    	if err != nil {
    		return oi, toObjectErr(err, srcBucket, srcObject)
    	}
    	if fi.Deleted {
    		if srcOpts.VersionID == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  7. docs/ftp/README.md

    Algorithms are comma separated. 
    Note that valid values does not in all cases represent default values.
    
    `--sftp=pub-key-algos=...` specifies the supported client public key
    authentication algorithms. Note that this doesn't include certificate types
    since those use the underlying algorithm. This list is sent to the client if
    it supports the server-sig-algs extension. Order is irrelevant.
    
    Valid values
    ```
    ssh-ed25519
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:15:45 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool.go

    // even if one of the sets fail to create buckets, we proceed all the successful
    // operations.
    func (z *erasureServerPools) MakeBucket(ctx context.Context, bucket string, opts MakeBucketOptions) error {
    	// Verify if bucket is valid.
    	if !isMinioMetaBucketName(bucket) {
    		if err := s3utils.CheckValidBucketNameStrict(bucket); err != nil {
    			return BucketNameInvalid{Bucket: bucket}
    		}
    
    		if !opts.NoLock {
    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/consolelogger.go

    			select {
    			case subCh <- entry:
    			case <-doneCh:
    				return nil
    			}
    		}
    	}
    	return sys.pubsub.Subscribe(madmin.LogMaskAll, subCh, doneCh, filter)
    }
    
    // Init if HTTPConsoleLoggerSys is valid, always returns nil right now
    func (sys *HTTPConsoleLoggerSys) Init(_ context.Context) error {
    	return nil
    }
    
    // Endpoint - dummy function for interface compatibility
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  10. cmd/format-erasure.go

    			}
    			format, err := loadFormatErasure(storageDisks[index], heal)
    			if err != nil {
    				return err
    			}
    			formats[index] = format
    			if !heal {
    				// If no healing required, make the disks valid and
    				// online.
    				storageDisks[index].SetDiskID(format.Erasure.This)
    			}
    			return nil
    		}, index)
    	}
    
    	// Return all formats and errors if any.
    	return formats, g.Wait()
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
Back to top