Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for buildAttributes (0.41 sec)

  1. plugin/pkg/admission/certificates/util.go

    func IsAuthorizedForSignerName(ctx context.Context, authz authorizer.Authorizer, info user.Info, verb, signerName string) bool {
    	// First check if the user has explicit permission to 'verb' for the given signerName.
    	attr := buildAttributes(info, verb, signerName)
    	decision, reason, err := authz.Authorize(ctx, attr)
    	switch {
    	case err != nil:
    		klog.V(3).Infof("cannot authorize %q %q for policy: %v,%v", verb, attr.GetName(), reason, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 16 11:54:27 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/DynamicVersionResolver.java

                this.attemptCollector = new AttemptCollector();
                this.consumerAttributes = buildAttributes(consumerAttributes, attributesFactory);
                versionListingResult = new VersionListResult(dependency, repository);
            }
    
            private ImmutableAttributes buildAttributes(AttributeContainer consumerAttributes, ImmutableAttributesFactory attributesFactory) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 13 17:41:33 UTC 2023
    - 26.8K bytes
    - Viewed (0)
Back to top