Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for usable (0.15 sec)

  1. cmd/metrics-v2.go

    		clusterVersionsHistogram := map[string]uint64{}
    		for _, usage := range dataUsageInfo.BucketsUsage {
    			clusterBuckets++
    			clusterSize += usage.Size
    			clusterObjectsCount += usage.ObjectsCount
    			clusterVersionsCount += usage.VersionsCount
    			clusterDeleteMarkersCount += usage.DeleteMarkersCount
    			for k, v := range usage.ObjectSizesHistogram {
    				v1, ok := clusterObjectSizesHistogram[k]
    				if !ok {
    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)
  2. cmd/site-replication.go

    			Op:         replication.AddOption,
    			RuleStatus: "enable",
    			DestBucket: targetARN,
    			// Replicate everything!
    			ReplicateDeletes:        "enable",
    			ReplicateDeleteMarkers:  "enable",
    			ReplicaSync:             "enable",
    			ExistingObjectReplicate: "enable",
    		}
    
    		switch {
    		case hasRule:
    			if ruleARN != opts.DestBucket {
    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/consolelogger.go

    func (sys *HTTPConsoleLoggerSys) SetNodeName(nodeName string) {
    	if !globalIsDistErasure {
    		sys.nodeName = ""
    		return
    	}
    
    	host, err := xnet.ParseHost(globalLocalNodeName)
    	if err != nil {
    		logger.FatalIf(err, "Unable to start console logging subsystem")
    	}
    
    	sys.nodeName = host.Name
    }
    
    // HasLogListeners returns true if console log listeners are registered
    // for this node or peers
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  4. cmd/metacache-entries.go

    	}
    	return false
    }
    
    // isLatestDeletemarker returns whether the latest version is a delete marker.
    // If metadata is NOT versioned false will always be returned.
    // If v2 and UNABLE to load metadata true will be returned.
    func (e *metaCacheEntry) isLatestDeletemarker() bool {
    	if e.cached != nil {
    		if len(e.cached.versions) == 0 {
    			return true
    		}
    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)
  5. cmd/sftp-server.go

    			logger.Fatal(fmt.Errorf("unknown algorithm %q passed to --sftp=%s\nValid algorithms: %v", algo, arg, strings.Join(allowed, ", ")), "unable to start SFTP server")
    		}
    	}
    	if len(filteredAlgos) == 0 {
    		logger.Fatal(fmt.Errorf("no valid algorithms passed to --sftp=%s\nValid algorithms: %v", arg, strings.Join(allowed, ", ")), "unable to start SFTP server")
    	}
    	return filteredAlgos
    }
    
    func startSFTPServer(args []string) {
    	var (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  6. cmd/bucket-replication.go

    		maxWorkers := p.maxWorkers
    		p.mu.RUnlock()
    		switch prio {
    		case "fast":
    			replLogOnceIf(GlobalContext, fmt.Errorf("Unable to keep up with incoming traffic"), string(replicationSubsystem), logger.WarningKind)
    		case "slow":
    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)
  7. cni/pkg/nodeagent/net.go

    	}
    
    	return nil
    }
    
    func pruneHostIPset(expected sets.Set[netip.Addr], hostsideProbeSet *ipset.IPSet) error {
    	actualIPSetContents, err := hostsideProbeSet.ListEntriesByIP()
    	if err != nil {
    		log.Warnf("unable to list IPSet: %v", err)
    		return err
    	}
    	actual := sets.New[netip.Addr](actualIPSetContents...)
    	stales := actual.DifferenceInPlace(expected)
    
    	for staleIP := range stales {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  8. cmd/config-current.go

    		callhomeCfg, err := callhome.LookupConfig(s[config.CallhomeSubSys][config.Default])
    		if err != nil {
    			configLogIf(ctx, fmt.Errorf("Unable to load callhome config: %w", err))
    		} else {
    			enable := callhomeCfg.Enable && !globalCallhomeConfig.Enabled()
    			globalCallhomeConfig.Update(callhomeCfg)
    			if enable {
    				initCallhome(ctx, objAPI)
    			}
    		}
    	case config.DriveSubSys:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/compare/comparator.go

    		istiodDump := &configdump.Wrapper{}
    		err := json.Unmarshal(resp, istiodDump)
    		if err != nil {
    			continue
    		}
    		c.istiod = istiodDump
    		break
    	}
    	if c.istiod == nil {
    		return nil, fmt.Errorf("unable to find config dump in Istiod responses")
    	}
    	envoyDump := &configdump.Wrapper{}
    	err := json.Unmarshal(envoyResponse, envoyDump)
    	if err != nil {
    		return nil, err
    	}
    	c.envoy = envoyDump
    	c.w = w
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 3.7K bytes
    - Viewed (1)
  10. cmd/test-utils_test.go

    		SecretKey: auth.DefaultSecretKey,
    	}
    
    	// disable ENVs which interfere with tests.
    	for _, env := range []string{
    		crypto.EnvKMSAutoEncryption,
    		config.EnvAccessKey,
    		config.EnvSecretKey,
    		config.EnvRootUser,
    		config.EnvRootPassword,
    	} {
    		os.Unsetenv(env)
    	}
    
    	// Set as non-distributed.
    	globalIsDistErasure = false
    
    	// Disable printing console messages during tests.
    	color.Output = io.Discard
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
Back to top