Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for args_ (0.04 sec)

  1. cmd/iam.go

    	if hasSessionPolicy {
    		return isAllowedSP && (isOwnerDerived || combinedPolicy.IsAllowed(args))
    	}
    
    	// Sub policy not set, this is most common since subPolicy
    	// is optional, use the inherited policies.
    	return isOwnerDerived || combinedPolicy.IsAllowed(args)
    }
    
    func isAllowedBySessionPolicyForServiceAccount(args policy.Args) (hasSessionPolicy bool, isAllowed bool) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/sidecar_simulation_test.go

    	Time      string
    }
    
    func (args vsArgs) Config(t *testing.T, variant string) string {
    	if args.Time == "" {
    		args.Time = TimeBase
    	}
    
    	if args.Matches == nil {
    		args.Matches = []string{args.Match}
    	}
    	if variant == "httproute" {
    		if args.GwMatches == nil {
    			args.GwMatches = make([]types.NamespacedName, 0, len(args.Matches))
    			for _, m := range args.Matches {
    				spl := strings.Split(m, ".")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  3. cmd/bucket-handlers.go

    		n := 0
    		// Use the following trick to filter in place
    		// https://github.com/golang/go/wiki/SliceTricks#filter-in-place
    		for _, bucketInfo := range bucketsInfo {
    			if globalIAMSys.IsAllowed(policy.Args{
    				AccountName:     cred.AccessKey,
    				Groups:          cred.Groups,
    				Action:          policy.ListBucketAction,
    				BucketName:      bucketInfo.Name,
    				ConditionValues: getConditionValues(r, "", cred),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
Back to top