Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for amatch (0.23 sec)

  1. cmd/site-replication.go

    func isIAMPolicyReplicated(cntReplicated, total int, policies []*policy.Policy) bool {
    	if cntReplicated > 0 && cntReplicated != total {
    		return false
    	}
    	// check if policies match between sites
    	var prev *policy.Policy
    	for i, p := range policies {
    		if i == 0 {
    			prev = p
    			continue
    		}
    		if !prev.Equals(*p) {
    			return false
    		}
    	}
    	return true
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  2. cmd/bucket-replication.go

    	if replicationStatus == replication.Failed {
    		eventName = event.ObjectReplicationFailed
    	}
    	newReplStatusInternal := rinfos.ReplicationStatusInternal()
    	// Note that internal replication status(es) may match for previously replicated objects - in such cases
    	// metadata should be updated with last resync timestamp.
    	objInfo := ri.ToObjectInfo()
    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)
  3. cmd/server_test.go

    	// execute the request.
    	response, err = s.client.Do(req)
    	c.Assert(err, nil)
    	if s.signer == signerV4 {
    		verifyError(c, response, "XAmzContentSHA256Mismatch", "The provided 'x-amz-content-sha256' header does not match what was computed.", http.StatusBadRequest)
    	}
    }
    
    // Test deletes multiple objects and verifies server response.
    func (s *TestSuiteCommon) TestDeleteMultipleObjects(c *check) {
    	// generate a random bucket name.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  4. cmd/metrics-v2.go

    			}
    			metrics = append(metrics,
    				MetricV2{
    					Description: MetricDescription{
    						Namespace: bucketMetricNamespace,
    						Subsystem: "batch",
    						Name:      MetricName(jtype + "_objects"),
    						Help:      "Get successfully completed batch job " + jtype + "objects",
    						Type:      counterMetric,
    					},
    					Value:          objects,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	opts.IndexCB = idxCb
    
    	if opts.PreserveETag != "" ||
    		r.Header.Get(xhttp.IfMatch) != "" ||
    		r.Header.Get(xhttp.IfNoneMatch) != "" {
    		opts.CheckPrecondFn = func(oi ObjectInfo) bool {
    			if _, err := DecryptObjectInfo(&oi, r); err != nil {
    				writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    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)
  6. cmd/admin-handlers.go

    		return
    	}
    
    	// 3. Compare generated key with decrypted key
    	if subtle.ConstantTimeCompare(key.Plaintext, decryptedKey) != 1 {
    		response.DecryptionErr = "The generated and the decrypted data key do not match"
    		resp, err := json.Marshal(response)
    		if err != nil {
    			writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL)
    			return
    		}
    		writeSuccessResponseJSON(w, resp)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  7. cmd/object-handlers_test.go

    			}
    			r.Close()
    			if !bytes.Equal(testCase.data, buffer.Bytes()) {
    				t.Errorf("Test %d: %s: Data Mismatch: Data fetched back from the uploaded object doesn't match the original one.", i+1, instanceType)
    			}
    		}
    	}
    }
    
    // Wrapper for calling PutObject API handler tests for both Erasure multiple disks and FS single drive setup.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top