Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for arn (0.15 sec)

  1. cmd/bucket-replication.go

    		d, ok := dsc.targetsMap[tgt.Arn]
    		if !ok {
    			continue
    		}
    		if !d.Replicate {
    			continue
    		}
    		r.targets[d.Arn] = resyncTarget(oi, tgt.Arn, tgt.ResetID, tgt.ResetBeforeDate, tgtStatuses[tgt.Arn])
    	}
    	return
    }
    
    func targetResetHeader(arn string) string {
    	return fmt.Sprintf("%s-%s", ReservedMetadataPrefixLower+ReplicationReset, arn)
    }
    
    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)
  2. cmd/site-replication.go

    				DeploymentID:    d,
    				BandwidthLimit:  int64(peer.DefaultBandwidth.Limit),
    			}
    			var exists bool // true if ARN already exists
    			bucketTarget.Arn, exists = globalBucketTargetSys.getRemoteARN(bucket, &bucketTarget, peer.DeploymentID)
    			if !exists { // persist newly generated ARN to targets and metadata on disk
    				err := globalBucketTargetSys.SetTarget(ctx, bucket, &bucketTarget, false)
    				if err != nil {
    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)
  3. cmd/metrics-v2.go

    					})
    				}
    				if stats.hasReplicationUsage() {
    					for arn, stat := range stats.Stats {
    						metrics = append(metrics, MetricV2{
    							Description:    getRepFailedBytesLastMinuteMD(bucketMetricNamespace),
    							Value:          float64(stat.Failed.LastMinute.Bytes),
    							VariableLabels: map[string]string{"bucket": bucket, "targetArn": arn},
    						})
    						metrics = append(metrics, MetricV2{
    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)
  4. cmd/server_test.go

    	c.Assert(err, nil)
    
    	// execute the HTTP request.
    	response, err = s.client.Do(request)
    
    	c.Assert(err, nil)
    	verifyError(c, response, "InvalidArgument", "A specified destination ARN does not exist or is not well-formed. Verify the destination ARN.", http.StatusBadRequest)
    }
    
    func (s *TestSuiteCommon) TestCors(c *check) {
    	expectedMap := http.Header{}
    	expectedMap.Set("Access-Control-Allow-Credentials", "true")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
Back to top