Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for Bool (0.23 sec)

  1. cmd/erasure-server-pool.go

    	for _, pool := range pools {
    		if opts.SkipDecommissioned && z.IsSuspended(pool.Index) {
    			continue
    		}
    		// Skip object if it's from pools participating in a rebalance operation.
    		if opts.SkipRebalancing && z.IsPoolRebalancing(pool.Index) {
    			continue
    		}
    		if isErrReadQuorum(pool.Err) || pool.Err == nil {
    			errs = append(errs, poolErrs{Err: pool.Err, Index: pool.Index})
    		}
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 80.1K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-rebalance.go

    )
    
    //go:generate msgp -file $GOFILE -unexported
    
    // rebalanceStats contains per-pool rebalance statistics like number of objects,
    // versions and bytes rebalanced out of a pool
    type rebalanceStats struct {
    	InitFreeSpace uint64 `json:"initFreeSpace" msg:"ifs"` // Pool free space at the start of rebalance
    	InitCapacity  uint64 `json:"initCapacity" msg:"ic"`   // Pool capacity at the start of rebalance
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  3. cmd/metacache-set.go

    	InclDeleted bool
    
    	// Scan recursively.
    	// If false only main directory will be scanned.
    	// Should always be true if Separator is n SlashSeparator.
    	Recursive bool
    
    	// Separator to use.
    	Separator string
    
    	// Create indicates that the lister should not attempt to load an existing cache.
    	Create bool
    
    	// Include pure directories.
    	IncludeDirectories bool
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  4. cni/pkg/ipset/ipset.go

    	Deps   NetlinkIpsetDeps
    }
    
    const (
    	V4Name = "%s-v4"
    	V6Name = "%s-v6"
    )
    
    type NetlinkIpsetDeps interface {
    	ipsetIPHashCreate(name string, v6 bool) error
    	destroySet(name string) error
    	addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error
    	deleteIP(name string, ip netip.Addr, ipProto uint8) error
    	flush(name string) error
    	clearEntriesWithComment(name string, comment string) error
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. cni/pkg/config/config.go

    	// Whether ambient is enabled
    	AmbientEnabled bool
    
    	// Whether ambient DNS capture is enabled
    	AmbientDNSCapture bool
    
    	// Whether ipv6 is enabled for ambient capture
    	AmbientIPv6 bool
    }
    
    // RepairConfig struct defines the Istio CNI race repair configuration
    type RepairConfig struct {
    	// Whether to enable CNI race repair
    	Enabled bool
    
    	// The node name that the CNI DaemonSet runs on
    	NodeName string
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  6. cmd/iam.go

    		return nil, errServerNotInitialized
    	}
    
    	select {
    	case <-sys.configLoaded:
    		var userPredicate, groupPredicate func(string) bool
    		if sys.LDAPConfig.Enabled() {
    			userPredicate = func(s string) bool {
    				return !sys.LDAPConfig.IsLDAPUserDN(s)
    			}
    			groupPredicate = func(s string) bool {
    				return !sys.LDAPConfig.IsLDAPGroupDN(s)
    			}
    		}
    		pe := sys.store.ListPolicyMappings(q, userPredicate, groupPredicate)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  7. cmd/erasure.go

    }
    
    // Get an aggregated storage info across all disks.
    func getStorageInfo(disks []StorageAPI, endpoints []Endpoint, metrics bool) StorageInfo {
    	disksInfo := getDisksInfo(disks, endpoints, metrics)
    
    	// Sort so that the first element is the smallest.
    	sort.Slice(disksInfo, func(i, j int) bool {
    		return disksInfo[i].TotalSpace < disksInfo[j].TotalSpace
    	})
    
    	storageInfo := StorageInfo{
    		Disks: disksInfo,
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  8. cmd/iam-store.go

    	loadMappedPolicy(ctx context.Context, name string, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy]) error
    	loadMappedPolicyWithRetry(ctx context.Context, name string, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy], retries int) error
    	loadMappedPolicies(ctx context.Context, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy]) error
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  9. cmd/object-api-errors.go

    func isErrWriteQuorum(err error) bool {
    	var rquorum InsufficientWriteQuorum
    	return errors.As(err, &rquorum)
    }
    
    // isErrObjectNotFound - Check if error type is ObjectNotFound.
    func isErrObjectNotFound(err error) bool {
    	var objNotFound ObjectNotFound
    	return errors.As(err, &objNotFound)
    }
    
    // isErrVersionNotFound - Check if error type is VersionNotFound.
    func isErrVersionNotFound(err error) bool {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  10. cmd/xl-storage-disk-id-check.go

    	return p.storage.String()
    }
    
    func (p *xlStorageDiskIDCheck) IsOnline() bool {
    	storedDiskID, err := p.storage.GetDiskID()
    	if err != nil {
    		return false
    	}
    	return storedDiskID == *p.diskID.Load()
    }
    
    func (p *xlStorageDiskIDCheck) LastConn() time.Time {
    	return p.storage.LastConn()
    }
    
    func (p *xlStorageDiskIDCheck) IsLocal() bool {
    	return p.storage.IsLocal()
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
Back to top