Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for qualified (0.15 sec)

  1. cmd/api-response.go

    // returns "https" if the tls boolean is true, "http" otherwise.
    func getURLScheme(tls bool) string {
    	if tls {
    		return httpsScheme
    	}
    	return httpScheme
    }
    
    // getObjectLocation gets the fully qualified URL of an object.
    func getObjectLocation(r *http.Request, domains []string, bucket, object string) string {
    	// unit tests do not have host set.
    	if r.Host == "" {
    		return path.Clean(r.URL.Path)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  2. cmd/erasure-object.go

    				}
    				return objInfo, gerr
    			}
    
    			// Add protection and re-verify the ILM rules for qualification
    			// based on the latest objectInfo and see if the object still
    			// qualifies for deletion.
    			if gerr == nil {
    				var isErr bool
    				evt := evalActionFromLifecycle(ctx, *lc, rcfg, replcfg, goi)
    				switch evt.Action {
    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)
  3. cmd/bucket-replication.go

    	xhttp.AmzObjectLockMode,
    	xhttp.AmzObjectLockRetainUntilDate,
    	xhttp.AmzObjectLockLegalHold,
    	xhttp.AmzTagCount,
    	xhttp.AmzServerSideEncryption,
    }
    
    // returns true if any of the objects being deleted qualifies for replication.
    func hasReplicationRules(ctx context.Context, bucket string, objects []ObjectToDelete) bool {
    	c, err := getReplicationConfig(ctx, bucket)
    	if err != nil || c == nil {
    		replLogOnceIf(ctx, err, bucket)
    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)
  4. cmd/metrics-v3-types.go

    func (mg *MetricsGroup) LockAndSetBuckets(buckets []string) func() {
    	mg.bucketsLock.Lock()
    	mg.buckets = buckets
    	return func() {
    		mg.bucketsLock.Unlock()
    	}
    }
    
    // MetricFQN - returns the fully qualified name for the given metric name.
    func (mg *MetricsGroup) MetricFQN(name MetricName) string {
    	v, ok := mg.descriptorMap[name]
    	if !ok {
    		// This should never happen.
    		return ""
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:05:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  5. cmd/bucket-replication-utils.go

    }
    
    // ReplicateAny returns true if at least one target qualifies for replication
    func (d ReplicateDecision) ReplicateAny() bool {
    	for _, t := range d.targetsMap {
    		if t.Replicate {
    			return true
    		}
    	}
    	return false
    }
    
    // Synchronous returns true if at least one target qualifies for synchronous replication
    func (d ReplicateDecision) Synchronous() bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 26.2K bytes
    - Viewed (0)
Back to top