Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for inGroup (0.47 sec)

  1. src/testing/slogtest/slogtest.go

    		},
    		checks: []check{
    			hasKey(slog.TimeKey),
    			hasKey(slog.LevelKey),
    			hasAttr(slog.MessageKey, "msg"),
    			hasAttr("a", "b"),
    			inGroup("G", hasAttr("c", "d")),
    			inGroup("G", inGroup("H", hasAttr("e", "f"))),
    		},
    	},
    	{
    		name:        "empty-group-record",
    		explanation: withSource("a Handler should not output groups if there are no attributes"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:47 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  2. cmd/iam-etcd-store.go

    func (ies *IAMEtcdStore) loadMappedPolicyWithRetry(ctx context.Context, name string, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy], retries int) error {
    	return ies.loadMappedPolicy(ctx, name, userType, isGroup, m)
    }
    
    func (ies *IAMEtcdStore) loadMappedPolicy(ctx context.Context, name string, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy]) error {
    	var p MappedPolicy
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. cmd/iam-object-store.go

    	return nil
    }
    
    func (iamOS *IAMObjectStore) loadMappedPolicyWithRetry(ctx context.Context, name string, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy], retries int) error {
    	for {
    	retry:
    		var p MappedPolicy
    		err := iamOS.loadIAMConfig(ctx, &p, getMappedPolicyPath(name, userType, isGroup))
    		if err != nil {
    			if err == errConfigNotFound {
    				return errNoSuchPolicy
    			}
    			retries--
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/internal/language/language.go

    // includes non-standard definitions from CLDR.
    func (r Region) IsCountry() bool {
    	if r == 0 || r.IsGroup() || r.IsPrivateUse() && r != _XK {
    		return false
    	}
    	return true
    }
    
    // IsGroup returns whether this region defines a collection of regions. This
    // includes non-standard definitions from CLDR.
    func (r Region) IsGroup() bool {
    	if r == 0 {
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/text/language/language.go

    // includes non-standard definitions from CLDR.
    func (r Region) IsCountry() bool {
    	return r.regionID.IsCountry()
    }
    
    // IsGroup returns whether this region defines a collection of regions. This
    // includes non-standard definitions from CLDR.
    func (r Region) IsGroup() bool {
    	return r.regionID.IsGroup()
    }
    
    // Contains returns whether Region c is contained by Region r. It returns true
    // if c == r.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  6. pkg/kubelet/volumemanager/volume_manager.go

    		}
    	}
    
    	result := make([]int64, 0, supplementalGroups.Len())
    	for _, group := range sets.List(supplementalGroups) {
    		iGroup, extra := getExtraSupplementalGid(group, pod)
    		if !extra {
    			continue
    		}
    
    		result = append(result, int64(iGroup))
    	}
    
    	return result
    }
    
    func (vm *volumeManager) GetVolumesInUse() []v1.UniqueVolumeName {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  7. cmd/peer-rest-client.go

    func (client *peerRESTClient) LoadPolicyMapping(ctx context.Context, userOrGroup string, userType IAMUserType, isGroup bool) error {
    	_, err := loadPolicyMappingRPC.Call(ctx, client.gridConn(), grid.NewMSSWith(map[string]string{
    		peerRESTUserOrGroup: userOrGroup,
    		peerRESTUserType:    strconv.Itoa(int(userType)),
    		peerRESTIsGroup:     strconv.FormatBool(isGroup),
    	}))
    	return err
    }
    
    // DeleteUser - delete a specific user.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  8. cmd/admin-router.go

    		adminRouter.Methods(http.MethodPut).Path(adminVersion+"/set-user-or-group-policy").
    			HandlerFunc(adminMiddleware(adminAPI.SetPolicyForUserOrGroup)).
    			Queries("policyName", "{policyName:.*}", "userOrGroup", "{userOrGroup:.*}", "isGroup", "{isGroup:true|false}")
    
    		// Attach/Detach policies to/from user or group
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Mar 10 21:09:36 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  9. cmd/notification.go

    	ng := WithNPeers(len(sys.peerClients)).WithRetries(1)
    	for idx, client := range sys.peerClients {
    		client := client
    		ng.Go(ctx, func() error {
    			if client == nil {
    				return errPeerNotReachable
    			}
    			return client.LoadPolicyMapping(ctx, userOrGroup, userType, isGroup)
    		}, idx, *client.host)
    	}
    	return ng.Wait()
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 44.9K bytes
    - Viewed (0)
Back to top