Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getRequestAttributes (0.48 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/VariantResolvingArtifactSet.java

                try {
                    if (!spec.getSelectFromAllVariants()) {
                        variants = ownArtifacts.get();
                    } else {
                        variants = getArtifactVariantsForReselection(spec.getRequestAttributes());
                    }
                } catch (Exception e) {
                    return new BrokenResolvedArtifactSet(e);
                }
    
                if (variants.isEmpty() && spec.getAllowNoMatchingVariants()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 17:38:42 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/LocalFileDependencyBackedArtifactSetCodec.kt

        variantSelector,
        artifactTypeRegistry,
        calculatedValueContainerFactory,
        allowNoMatchingVariants
    ) {
        // These attributes are ignored by the fixed artifact variant selectors
        override fun getRequestAttributes(): ImmutableAttributes = ImmutableAttributes.EMPTY
    }
    
    
    private
    class RecordingVariantSet(
        private val source: FileCollectionInternal,
        private val attributes: ImmutableAttributes
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 18:56:44 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. pkg/kubelet/server/server_test.go

    }
    
    func (f *fakeAuth) AuthenticateRequest(req *http.Request) (*authenticator.Response, bool, error) {
    	return f.authenticateFunc(req)
    }
    func (f *fakeAuth) GetRequestAttributes(u user.Info, req *http.Request) authorizer.Attributes {
    	return f.attributesFunc(u, req)
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  4. pkg/kubelet/server/server.go

    			return
    		}
    		if !ok {
    			resp.WriteErrorString(http.StatusUnauthorized, "Unauthorized")
    			return
    		}
    
    		// Get authorization attributes
    		attrs := s.auth.GetRequestAttributes(info.User, req.Request)
    
    		// Authorize
    		decision, _, err := s.auth.Authorize(req.Request.Context(), attrs)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
Back to top