Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for colonne (0.22 sec)

  1. cmd/bucket-targets.go

    						t.LastOnline = hs.lastOnline
    						t.Latency = madmin.LatencyStat{
    							Curr: hs.latency.curr,
    							Avg:  hs.latency.avg,
    							Max:  hs.latency.peak,
    						}
    					}
    					targets = append(targets, t.Clone())
    				}
    			}
    		}
    		return targets
    	}
    	sys.RLock()
    	defer sys.RUnlock()
    	for _, tgts := range sys.targetsMap {
    		for _, t := range tgts {
    			if string(t.Type) == arnType || arnType == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/rule.go

    		return errXMLNotWellFormed
    	}
    	return nil
    }
    
    // CloneNonTransition - returns a clone of the object containing non transition rules
    func (r Rule) CloneNonTransition() Rule {
    	return Rule{
    		XMLName:                     r.XMLName,
    		ID:                          r.ID,
    		Status:                      r.Status,
    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)
  3. cmd/metrics-v2.go

    			if g.metricsGroupOpts.dependBucketTargetSys {
    				if globalBucketTargetSys == nil {
    					return []MetricV2{}, nil
    				}
    			}
    			return read(GlobalContext), nil
    		},
    	)
    }
    
    func (m *MetricV2) clone() MetricV2 {
    	metric := MetricV2{
    		Description:          m.Description,
    		Value:                m.Value,
    		HistogramBucketLabel: m.HistogramBucketLabel,
    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/object-handlers.go

    			return
    		}
    	}
    
    	cachedResult := globalCacheConfig.Enabled() && opts.VersionID == ""
    
    	var update bool
    	if cachedResult {
    		rc := &cache.CondCheck{}
    		h := r.Header.Clone()
    		if opts.PartNumber > 0 {
    			h.Set(xhttp.PartNumber, strconv.Itoa(opts.PartNumber))
    		}
    		rc.Init(bucket, object, h)
    
    		ci, err := globalCacheConfig.Get(rc)
    		if ci != nil {
    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/erasure-object.go

    }
    
    // update restore status header in the metadata
    func (er erasureObjects) updateRestoreMetadata(ctx context.Context, bucket, object string, objInfo ObjectInfo, opts ObjectOptions) error {
    	oi := objInfo.Clone()
    	oi.metadataOnly = true // Perform only metadata updates.
    
    	// allow retry in the case of failure to restore
    	delete(oi.UserDefined, xhttp.AmzRestore)
    
    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)
  6. cmd/format-erasure_test.go

    		}
    	}
    
    	format := newFormatErasureV3(1, 8)
    	format.Erasure.DistributionAlgo = formatErasureVersionV2DistributionAlgoV1
    	formats := make([]*formatErasureV3, 8)
    
    	for j := 0; j < 8; j++ {
    		newFormat := format.Clone()
    		newFormat.Erasure.This = format.Erasure.Sets[0][j]
    		formats[j] = newFormat
    	}
    
    	formats[1] = nil
    	expThis := formats[2].Erasure.This
    	formats[2].Erasure.This = ""
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  7. internal/config/identity/ldap/config.go

    }
    
    // Enabled returns if LDAP is enabled.
    func (l *Config) Enabled() bool {
    	return l.LDAP.Enabled
    }
    
    // Clone returns a cloned copy of LDAP config.
    func (l *Config) Clone() Config {
    	if l == nil {
    		return Config{}
    	}
    	cfg := Config{
    		LDAP:              l.LDAP.Clone(),
    		stsExpiryDuration: l.stsExpiryDuration,
    	}
    	return cfg
    }
    
    // LDAP keys and envs.
    const (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 7.9K bytes
    - Viewed (2)
  8. internal/config/heal/heal.go

    //
    // >0 interval duration between cycles
    func (opts Config) BitrotScanCycle() (d time.Duration) {
    	configMutex.RLock()
    	defer configMutex.RUnlock()
    	return opts.cache.bitrotCycle
    }
    
    // Clone safely the heal configuration
    func (opts Config) Clone() (int, time.Duration, string) {
    	configMutex.RLock()
    	defer configMutex.RUnlock()
    	return opts.IOCount, opts.Sleep, opts.Bitrot
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  9. cmd/signature-v4-utils_test.go

    	inputHeader.Set("X-Amz-Meta-Clone", "fail")
    	// calling the function being tested.
    	errCode = checkMetaHeaders(signedHeadersMap, r)
    	if errCode != ErrUnsignedHeaders {
    		t.Fatalf("Expected the APIErrorCode to be %d, but got %d", ErrUnsignedHeaders, errCode)
    	}
    
    	// Delete extra metadata from header to don't affect other test
    	inputHeader.Del("X-Amz-Meta-Clone")
    	// calling the function being tested.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  10. cmd/bucket-policy.go

    		"versionid":        {vid},
    		"signatureversion": {signatureVersion},
    		"authType":         {authtype},
    	}
    
    	if lc != "" {
    		args["LocationConstraint"] = []string{lc}
    	}
    
    	cloneHeader := r.Header.Clone()
    	if v := cloneHeader.Get("x-amz-signature-age"); v != "" {
    		args["signatureAge"] = []string{v}
    		cloneHeader.Del("x-amz-signature-age")
    	}
    
    	if userTags := cloneHeader.Get(xhttp.AmzObjectTagging); userTags != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8K bytes
    - Viewed (0)
Back to top