Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for args_ (0.1 sec)

  1. cmd/logging.go

    	}
    }
    
    func iamLogEvent(ctx context.Context, msg string, args ...interface{}) {
    	logger.Event(ctx, "iam", msg, args...)
    }
    
    func rebalanceLogIf(ctx context.Context, err error, errKind ...interface{}) {
    	logger.LogIf(ctx, "rebalance", err, errKind...)
    }
    
    func rebalanceLogEvent(ctx context.Context, msg string, args ...interface{}) {
    	logger.Event(ctx, "rebalance", msg, args...)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. pilot/pkg/bootstrap/server_test.go

    			},
    		},
    	}
    
    	for _, tc := range tests {
    		t.Run(tc.name, func(t *testing.T) {
    			features.IstiodServiceCustomHost = tc.customHost
    			var args PilotArgs
    			args.Revision = tc.revision
    			args.Namespace = "istio-system"
    			sans := getDNSNames(&args, tc.discoveryAddress)
    			assert.Equal(t, sans, tc.sans)
    		})
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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