Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for CreateStringSet (0.15 sec)

  1. cmd/endpoint.go

    				} else {
    					pathIPMap[endpoint.Path] = hostIPSet
    				}
    			}
    		}
    
    		// Check whether same path is used for more than 1 local endpoints.
    		{
    			localPathSet := set.CreateStringSet()
    			for _, endpoint := range endpoints {
    				if !endpoint.IsLocal {
    					continue
    				}
    				if localPathSet.Contains(endpoint.Path) {
    					return nil, setupType,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  2. cmd/sts-handlers_test.go

    		gotBuckets.Add(b.Name)
    		if !(b.Access.Read && b.Access.Write) {
    			c.Fatalf("root user should have read and write access to bucket: %v", b.Name)
    		}
    	}
    	shouldHaveBuckets := set.CreateStringSet(bucket2, bucket)
    	if !gotBuckets.Equals(shouldHaveBuckets) {
    		c.Fatalf("root user should have access to all buckets")
    	}
    
    	// This must fail.
    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)
  3. cmd/iam.go

    	for _, parentUser := range parentUsers {
    		currGroupsSet := updatedGroups[parentUser]
    		currGroups := currGroupsSet.ToSlice()
    		for _, cred := range parentUserToCredsMap[parentUser] {
    			gSet := set.CreateStringSet(cred.Groups...)
    			if gSet.Equals(currGroupsSet) {
    				// No change to groups memberships for this
    				// credential.
    				continue
    			}
    
    			// Expired credentials don't need group membership updates.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
Back to top