Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Verify (0.24 sec)

  1. cmd/erasure-object.go

    	}
    
    	filterOnlineDisksInplace(fi, onlineMeta, onlineDisks)
    	for i := range onlineMeta {
    		// verify metadata is valid, it has similar erasure info
    		// as well as common modtime, if modtime is not possible
    		// verify if it has common "etag" at least.
    		if onlineMeta[i].IsValid() && onlineMeta[i].Erasure.Equal(fi.Erasure) {
    			ok := onlineMeta[i].ModTime.Equal(modTime)
    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)
  2. 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)
  3. cmd/xl-storage.go

    				}
    				legacyPreserved = true
    			}
    		}
    	} else {
    		// It is possible that some drives may not have `xl.meta` file
    		// in such scenarios verify if at least `part.1` files exist
    		// to verify for legacy version.
    		if formatLegacy {
    			// We only need this code if we are moving
    			// from `xl.json` to `xl.meta`, we can avoid
    			// one extra readdir operation here for all
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  4. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrARNNotification: {
    		Code:           "InvalidArgument",
    		Description:    "A specified destination ARN does not exist or is not well-formed. Verify the destination ARN.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrRegionNotification: {
    		Code:           "InvalidArgument",
    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)
  5. cmd/iam.go

    // actions. The permission of the parent user is checked first
    func (sys *IAMSys) IsAllowedServiceAccount(args policy.Args, parentUser string) bool {
    	// Verify if the parent claim matches the parentUser.
    	p, ok := args.Claims[parentClaim]
    	if ok {
    		parentInClaim, ok := p.(string)
    		if !ok {
    			// Reject malformed/malicious requests.
    			return false
    		}
    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)
  6. cmd/test-utils_test.go

    	anonReq.Header.Set("Authorization", "nothingElse")
    	// initialize new response recorder.
    	rec = httptest.NewRecorder()
    	// call the handler using the HTTP Request.
    	apiRouter.ServeHTTP(rec, anonReq)
    	// verify the response body for `ErrAccessDenied` message =.
    	if anonReq.Method != http.MethodHead {
    		// read the response body.
    		actualContent, err := io.ReadAll(rec.Body)
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  7. cmd/peer-rest-server.go

    		}
    	}
    }
    
    func (s *peerRESTServer) writeErrorResponse(w http.ResponseWriter, err error) {
    	w.WriteHeader(http.StatusForbidden)
    	w.Write([]byte(err.Error()))
    }
    
    // IsValid - To authenticate and verify the time difference.
    func (s *peerRESTServer) IsValid(w http.ResponseWriter, r *http.Request) bool {
    	if err := storageServerRequestValidate(r); err != nil {
    		s.writeErrorResponse(w, err)
    		return false
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  8. cmd/object-api-multipart_test.go

    		// Part size greater than 5MB.
    		{
    			[]CompletePart{
    				{ETag: fmt.Sprintf("\"\"\"\"\"%s\"\"\"", validPartMD5), PartNumber: 5},
    			},
    		},
    		// inputParts - 4.
    		// Used to verify that the other remaining parts are deleted after
    		// a successful call to CompleteMultipartUpload.
    		{
    			[]CompletePart{
    				{ETag: validPartMD5, PartNumber: 6},
    			},
    		},
    	}
    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)
  9. docs/bucket/notifications/README.md

    token                             (string)    NATS token
    tls                               (on|off)    set to 'on' to enable TLS
    tls_skip_verify                   (on|off)    trust server TLS without verification, defaults to "on" (verify)
    ping_interval                     (duration)  client ping commands interval in s,m,h,d. Disabled by default
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
  10. cmd/bucket-handlers.go

    	if successRedirect != "" {
    		redirectURL, err = url.Parse(successRedirect)
    		if err != nil {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrMalformedPOSTRequest), r.URL)
    			return
    		}
    	}
    
    	// Verify policy signature.
    	cred, errCode := doesPolicySignatureMatch(formValues)
    	if errCode != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(errCode), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top