Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for UID (0.12 sec)

  1. cmd/sts-handlers_test.go

    						},
    						ldapUserPolicyMappings: map[string][]string{
    							"uid=dillon,ou=people,ou=swengg,dc=min,dc=io": {"mypolicy"},
    							"uid=liza,ou=people,ou=swengg,dc=min,dc=io":   {"consoleAdmin"},
    						},
    						ldapGroupPolicyMappings: map[string][]string{
    							"cn=projectb,ou=groups,ou=swengg,dc=min,dc=io": {"mypolicy"},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  2. cmd/local-locker_gen.go

    				return
    			}
    		case "Writer":
    			z.Writer, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "Writer")
    				return
    			}
    		case "UID":
    			z.UID, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "UID")
    				return
    			}
    		case "Timestamp":
    			z.Timestamp, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "Timestamp")
    				return
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  3. internal/dsync/lock-args.go

    package dsync
    
    //go:generate msgp -file $GOFILE
    
    // LockArgs is minimal required values for any dsync compatible lock operation.
    type LockArgs struct {
    	// Unique ID of lock/unlock request.
    	UID string
    
    	// Resources contains single or multiple entries to be locked/unlocked.
    	Resources []string
    
    	// Source contains the line number, function and file name of the code
    	// on the client node that requested the lock.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 04:34:26 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  4. internal/dsync/drwmutex.go

    func sendRelease(ctx context.Context, ds *Dsync, c NetLocker, owner string, uid string, isReadLock bool, names ...string) bool {
    	if c == nil {
    		log("Unable to call RUnlock failed with %s\n", errors.New("netLocker is offline"))
    		return false
    	}
    
    	if len(uid) == 0 {
    		return false
    	}
    
    	args := LockArgs{
    		Owner:     owner,
    		UID:       uid,
    		Resources: names,
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  5. cmd/local-locker.go

    			if !ok {
    				// Inconsistent. Delete UID.
    				delete(l.lockUID, formatUUID(args.UID, idx))
    				return idx > 0, nil
    			}
    			for i := range lris {
    				if lris[i].UID == args.UID {
    					lris[i].TimeLastRefresh = UTCNow()
    				}
    			}
    			idx++
    			resource, ok = l.lockUID[formatUUID(args.UID, idx)]
    			if !ok {
    				// No more resources for UID, but we did update at least one.
    				return true, nil
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  6. cmd/admin-handlers_test.go

    		resource := fmt.Sprintf("bucket/get-object-%d", i)
    		lri := lockRequesterInfo{
    			Name:   resource,
    			UID:    mustGetUUID(),
    			Owner:  owners[i%len(owners)],
    			Quorum: 2,
    		}
    		lris = append(lris, lri)
    		locksHeld[resource] = append(locksHeld[resource], lri)
    		// concurrent read lock, same resource different uid
    		lri.UID = mustGetUUID()
    		lris = append(lris, lri)
    		locksHeld[resource] = append(locksHeld[resource], lri)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  7. cmd/admin-handlers-users.go

    				return
    			}
    			userAccounts := make(map[string]madmin.AddOrUpdateUserReq)
    			for u, uid := range userIdentities {
    				userAccounts[u] = madmin.AddOrUpdateUserReq{
    					SecretKey: uid.Credentials.SecretKey,
    					Status: func() madmin.AccountStatus {
    						// Export current credential status
    						if uid.Credentials.Status == auth.AccountOff {
    							return madmin.AccountDisabled
    						}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  8. cmd/admin-handlers.go

    	entry := &madmin.LockEntry{
    		Timestamp:  l.Timestamp,
    		Elapsed:    now.Sub(l.Timestamp),
    		Resource:   resource,
    		ServerList: []string{server},
    		Source:     l.Source,
    		Owner:      l.Owner,
    		ID:         l.UID,
    		Quorum:     l.Quorum,
    	}
    	if l.Writer {
    		entry.Type = "WRITE"
    	} else {
    		entry.Type = "READ"
    	}
    	return entry
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
Back to top