Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for association (0.13 sec)

  1. cmd/iam.go

    // When a policyName is given to this function, the policy association is
    // created and stored in the IAM store. Thus, it should NOT be given for the
    // role-arn case (because the role-to-policy mapping is separately stored
    // elsewhere), the AssumeRole case (because the parent user is real and their
    // policy is associated via policy-set API) and the AssumeRoleWithLDAP case
    // (because the policy association is made via policy-set API).
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  2. tests/query_test.go

    	user.UpdatedAt = time.Time{}
    	if err := DB.Where(&user).First(&User{}).Error; err != nil {
    		t.Errorf("search with struct with association should returns no error, but got %v", err)
    	}
    
    	if err := DB.Where(user).First(&User{}).Error; err != nil {
    		t.Errorf("search with struct with association should returns no error, but got %v", err)
    	}
    }
    
    func TestFindInBatches(t *testing.T) {
    	users := []User{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  3. istioctl/pkg/describe/describe.go

    					svcSelector := klabels.SelectorFromSet(svc.Spec.Selector)
    					if svcSelector.Matches(podLabels) {
    						matchingServices = append(matchingServices, svc)
    					}
    				}
    			}
    			// Validate Istio's "Service association" requirement
    			if len(matchingServices) == 0 && !ignoreUnmeshed {
    				fmt.Fprintf(cmd.OutOrStdout(),
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  4. cmd/iam-store.go

    			res = append(res, k)
    			return true
    		})
    	}
    	return
    }
    
    // PolicyDBUpdate - adds or removes given policies to/from the user or group's
    // policy associations.
    func (store *IAMStoreSys) PolicyDBUpdate(ctx context.Context, name string, isGroup bool,
    	userType IAMUserType, policies []string, isAttach bool) (updatedAt time.Time,
    	addedOrRemoved, effectivePolicies []string, err error,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
Back to top