Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 111 for true (0.15 sec)

  1. cmd/tier.go

    	return config.lastRefreshedAt
    }
    
    // IsTierValid returns true if there exists a remote tier by name tierName,
    // otherwise returns false.
    func (config *TierConfigMgr) IsTierValid(tierName string) bool {
    	config.RLock()
    	defer config.RUnlock()
    	_, valid := config.isTierNameInUse(tierName)
    	return valid
    }
    
    // isTierNameInUse returns tier type and true if there exists a remote tier by
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  2. cmd/metacache-server-pool.go

    	go func(o listPathOptions) {
    		defer wg.Done()
    		o.StopDiskAtLimit = true
    		listErr = z.listMerged(listCtx, o, filterCh)
    		o.debugln("listMerged returned with", listErr)
    	}(*o)
    
    	entries, err = filteredResults()
    	cancelList()
    	wg.Wait()
    	if listErr != nil && !errors.Is(listErr, context.Canceled) {
    		return entries, listErr
    	}
    	entries.reuse = true
    	truncated := entries.len() > o.Limit || err == nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  3. cmd/metacache-entries.go

    	} else if err != nil {
    		return true
    	}
    	// Fall back...
    	xlMeta, err := e.xlmeta()
    	if err != nil || len(xlMeta.versions) == 0 {
    		return true
    	}
    	return xlMeta.versions[0].header.Type == DeleteType
    }
    
    // isAllFreeVersions returns if all objects are free versions.
    // If metadata is NOT versioned false will always be returned.
    // If v2 and UNABLE to load metadata true will be returned.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  4. cmd/common-main.go

    		ctxt.configDirSet = true
    	case ctx.GlobalIsSet("config-dir"):
    		ctxt.ConfigDir = ctx.GlobalString("config-dir")
    		ctxt.configDirSet = true
    	}
    
    	switch {
    	case ctx.IsSet("certs-dir"):
    		ctxt.CertsDir = ctx.String("certs-dir")
    		ctxt.certsDirSet = true
    	case ctx.GlobalIsSet("certs-dir"):
    		ctxt.CertsDir = ctx.GlobalString("certs-dir")
    		ctxt.certsDirSet = true
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  5. cmd/admin-bucket-handlers.go

    		st.Policy = madmin.MetaStatus{IsSet: true, Err: errMsg}
    	case bucketNotificationConfig:
    		st.Notification = madmin.MetaStatus{IsSet: true, Err: errMsg}
    	case bucketLifecycleConfig:
    		st.Lifecycle = madmin.MetaStatus{IsSet: true, Err: errMsg}
    	case bucketSSEConfig:
    		st.SSEConfig = madmin.MetaStatus{IsSet: true, Err: errMsg}
    	case bucketTaggingConfig:
    		st.Tagging = madmin.MetaStatus{IsSet: true, Err: errMsg}
    	case bucketQuotaConfigFile:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  6. cmd/erasure-metadata.go

    		return false
    	}
    	return true
    }
    
    // MetadataEquals returns true if FileInfos Metadata maps are equal, false otherwise.
    func (fi FileInfo) MetadataEquals(ofi FileInfo) bool {
    	if len(fi.Metadata) != len(ofi.Metadata) {
    		return false
    	}
    	for k, v := range fi.Metadata {
    		if ov, ok := ofi.Metadata[k]; !ok || ov != v {
    			return false
    		}
    	}
    	return true
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  7. internal/rest/client.go

    }
    
    type restError string
    
    func (e restError) Error() string {
    	return string(e)
    }
    
    func (e restError) Timeout() bool {
    	return true
    }
    
    // Given a string of the form "host", "host:port", or "[ipv6::address]:port",
    // return true if the string includes a port.
    func hasPort(s string) bool { return strings.LastIndex(s, ":") > strings.LastIndex(s, "]") }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  8. cmd/signature-v4-utils_test.go

    		inputReqRegion  string
    		inputConfRegion string
    
    		expectedResult bool
    	}{
    		{"", "", true},
    		{globalMinioDefaultRegion, "", true},
    		{globalMinioDefaultRegion, "US", true},
    		{"us-west-1", "US", false},
    		{"us-west-1", "us-west-1", true},
    		// "US" was old naming convention for 'us-east-1'.
    		{"US", "US", true},
    	}
    
    	for i, testCase := range testCases {
    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)
  9. cmd/storage-rest-server.go

    		// or create format.json
    		return true
    	}
    
    	storedDiskID, err := s.getStorage().GetDiskID()
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return false
    	}
    
    	if diskID != storedDiskID {
    		s.writeErrorResponse(w, errDiskStale)
    		return false
    	}
    
    	// If format.json is available and request sent the right disk-id, we allow the request
    	return true
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  10. cmd/batch-expire.go

    				oiCache.Add(od, &exp.ObjectInfo)
    			}
    
    			var done bool
    			// DeleteObject(deletePrefix: true) to expire all versions of an object
    			for _, exp := range toExpireAll {
    				var success bool
    				for attempts := 1; attempts <= retryAttempts; attempts++ {
    					select {
    					case <-ctx.Done():
    						done = true
    					default:
    					}
    					stopFn := globalBatchJobsMetrics.trace(batchJobMetricExpire, ri.JobID, attempts)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
Back to top