Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for members (0.28 sec)

  1. cmd/admin-router.go

    		adminRouter.Methods(http.MethodGet).Path(adminVersion+"/user-info").HandlerFunc(adminMiddleware(adminAPI.GetUserInfo)).Queries("accessKey", "{accessKey:.*}")
    		// Add/Remove members from group
    		adminRouter.Methods(http.MethodPut).Path(adminVersion + "/update-group-members").HandlerFunc(adminMiddleware(adminAPI.UpdateGroupMembers))
    
    		// Get Group
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  2. internal/s3select/sql/value.go

    	case int64:
    		v.value = -x
    	}
    }
    
    // Value comparison functions: we do not expose them outside the
    // module. Logical operators "<", ">", ">=", "<=" work on strings and
    // numbers. Equality operators "=", "!=" work on strings,
    // numbers and booleans.
    
    // Supported comparison operators
    const (
    	opLt    = "<"
    	opLte   = "<="
    	opGt    = ">"
    	opGte   = ">="
    	opEq    = "="
    	opIneq  = "!="
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  3. cmd/object-api-utils.go

    	pr, pw := io.Pipe()
    	// Copy input to compressor
    	opts := compressOpts
    	if encrypted {
    		// The values used for padding are not a security concern,
    		// but we choose pseudo-random numbers instead of just zeros.
    		rng := rand.New(rand.NewSource(time.Now().UnixNano()))
    		opts = append([]s2.WriterOption{s2.WriterPadding(compPadEncrypted), s2.WriterPaddingSrc(rng)}, compressOpts...)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  4. cmd/erasure-server-pool-decom.go

    		BytesFailed:             pd.BytesFailed,
    	}
    }
    
    // bucketPop should be called when a bucket is done decommissioning.
    // Adds the bucket to the list of decommissioned buckets and updates resume numbers.
    func (pd *PoolDecommissionInfo) bucketPop(bucket string) bool {
    	pd.DecommissionedBuckets = append(pd.DecommissionedBuckets, bucket)
    	for i, b := range pd.QueuedBuckets {
    		if b == bucket {
    			// Bucket is done.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  5. cmd/admin-handlers-users_test.go

    	if err != nil {
    		c.Fatalf("Unable to set user: %v", err)
    	}
    
    	// 1. Add user to a new group
    	group := "mygroup"
    	err = s.adm.UpdateGroupMembers(ctx, madmin.GroupAddRemove{
    		Group:   group,
    		Members: []string{accessKey},
    	})
    	if err != nil {
    		c.Fatalf("Unable to add user to group: %v", err)
    	}
    
    	// 2. Check that user has no access
    	uClient := s.getUserClient(c, accessKey, secretKey, "")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  6. internal/s3select/sql/evaluate.go

    		if aOK && bOK {
    			if len(aA) != len(bA) {
    				return false
    			}
    			for i := range aA {
    				if !cmp(aA[i], bA[i]) {
    					return false
    				}
    			}
    			return true
    		}
    		// Try as numbers
    		aF, aOK := a.ToFloat()
    		bF, bOK := b.ToFloat()
    
    		diff := math.Abs(aF - bF)
    		return aOK && bOK && diff < floatCmpTolerance
    	}
    
    	var rhs Value
    	var err error
    	var eltVal *Value
    	switch {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  7. internal/s3select/sql/funceval.go

    	case castDecimal, castNumeric:
    		fallthrough
    
    	default:
    		return nil, errUnimplementedCast
    	}
    }
    
    func intCast(v *Value) (int64, error) {
    	// This conversion truncates floating point numbers to
    	// integer.
    	strToInt := func(s string) (int64, bool) {
    		i, errI := strconv.ParseInt(s, 10, 64)
    		if errI == nil {
    			return i, true
    		}
    		f, errF := strconv.ParseFloat(s, 64)
    		if errF == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  8. cmd/erasure-multipart.go

    		if part.Number != 0 && !part.ModTime.IsZero() {
    			fi.AddObjectPart(part.Number, part.ETag, part.Size, part.ActualSize, part.ModTime, part.Index, part.Checksums)
    		}
    	}
    
    	// Only parts with higher part numbers will be listed.
    	parts := fi.Parts
    	result.Parts = make([]PartInfo, 0, len(parts))
    	for _, part := range parts {
    		result.Parts = append(result.Parts, PartInfo{
    			PartNumber:     part.Number,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  9. cmd/background-newdisks-heal-ops.go

    	ItemsHealed uint64
    	ItemsFailed uint64
    
    	BytesDone   uint64
    	BytesFailed uint64
    
    	// Last object scanned.
    	Bucket string `json:"-"`
    	Object string `json:"-"`
    
    	// Numbers when current bucket started healing,
    	// for resuming with correct numbers.
    	ResumeItemsHealed uint64 `json:"-"`
    	ResumeItemsFailed uint64 `json:"-"`
    	ResumeBytesDone   uint64 `json:"-"`
    	ResumeBytesFailed uint64 `json:"-"`
    
    	// Filled on startup/restarts.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  10. cmd/local-locker_test.go

    	}
    	if len(l.lockUID) != 0 {
    		t.Fatalf("lockUID len, got %d, want %d + %d", len(l.lockUID), 0, 0)
    	}
    }
    
    func Test_localLocker_expireOldLocksExpire(t *testing.T) {
    	rng := rand.New(rand.NewSource(0))
    	// Numbers of unique locks
    	for _, locks := range []int{100, 1000, 1e6} {
    		if testing.Short() && locks > 100 {
    			continue
    		}
    		t.Run(fmt.Sprintf("%d-locks", locks), func(t *testing.T) {
    			// Number of readers per lock...
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 05 04:57:35 GMT 2023
    - 11.8K bytes
    - Viewed (0)
Back to top