Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for userBurst (0.08 sec)

  1. plugin/pkg/admission/eventratelimit/admission_test.go

    					QPS:       qps,
    					CacheSize: tc.namespaceCacheSize,
    				}
    				config.Limits = append(config.Limits, namespaceLimit)
    			}
    			if tc.userBurst > 0 {
    				userLimit := eventratelimitapi.Limit{
    					Type:      eventratelimitapi.UserLimitType,
    					Burst:     tc.userBurst,
    					QPS:       qps,
    					CacheSize: tc.userCacheSize,
    				}
    				config.Limits = append(config.Limits, userLimit)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 17 13:19:08 UTC 2021
    - 15.6K bytes
    - Viewed (0)
  2. src/os/user/listgroups_unix.go

    	}
    	primaryGid, err := strconv.Atoi(u.Gid)
    	if err != nil {
    		return nil, fmt.Errorf("user: list groups for %s: invalid gid %q", u.Username, u.Gid)
    	}
    
    	userCommas := []byte("," + u.Username + ",")  // ,john,
    	userFirst := userCommas[1:]                   // john,
    	userLast := userCommas[:len(userCommas)-1]    // ,john
    	userOnly := userCommas[1 : len(userCommas)-1] // john
    
    	// Add primary Gid first.
    	groups := []string{u.Gid}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top