Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 140 for set_resource (1.06 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter.go

    	gvk := equivalentKind
    	gvr := equivalentGVR
    	subresource := attr.GetSubresource()
    
    	requestGVK := attr.GetKind()
    	requestGVR := attr.GetResource()
    	requestSubResource := attr.GetSubresource()
    
    	aUserInfo := attr.GetUserInfo()
    	var userInfo authenticationv1.UserInfo
    	if aUserInfo != nil {
    		userInfo = authenticationv1.UserInfo{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 24 14:46:11 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  2. pkg/istio-agent/xds_proxy_delta.go

    	select {
    	// Convert back to a SotW response
    	case p.tapResponseChannel <- &discovery.DiscoveryResponse{
    		VersionInfo:  resp.SystemVersionInfo,
    		Resources:    slices.Map(resp.Resources, (*discovery.Resource).GetResource),
    		Canary:       false,
    		TypeUrl:      resp.TypeUrl,
    		Nonce:        resp.Nonce,
    		ControlPlane: resp.ControlPlane,
    	}:
    	default:
    		log.Infof("tap response %q arrived too late; discarding", resp.TypeUrl)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 04 20:29:08 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/update.go

    		}
    
    		// The user is not authorized to perform this action, so we need to build the error response
    		gr := schema.GroupResource{
    			Group:    attributes.GetAPIGroup(),
    			Resource: attributes.GetResource(),
    		}
    		name := attributes.GetName()
    		err := fmt.Errorf("%v", authorizerReason)
    		return errors.NewForbidden(gr, name, err)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:19:46 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/ClassPath.java

        /**
         * Returns the url identifying the resource.
         *
         * <p>See {@link ClassLoader#getResource}
         *
         * @throws NoSuchElementException if the resource cannot be loaded through the class loader,
         *     despite physically existing in the class path.
         */
        public final URL url() {
          URL url = loader.getResource(resourceName);
          if (url == null) {
            throw new NoSuchElementException(resourceName);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

      }
    
      private void doExtensiveTest(String resourceName) throws IOException {
        Splitter splitter = Splitter.on(CharMatcher.whitespace());
        URL url = getClass().getResource(resourceName);
        for (String line : Resources.readLines(url, UTF_8)) {
          Iterator<String> iterator = splitter.split(line).iterator();
          String input = iterator.next();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 11K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/resource_device_inference.cc

          // Record VarHandleOp's device attribute.
          StringRef device_attr = GetDeviceAttr(op);
          if (device_attr.empty()) return WalkResult::advance();
          auto res = AddResourceDeviceAndEmitError(var_handle.getResource(),
                                                   device_attr, op, result);
          if (failed(res)) return WalkResult::interrupt();
        } else if (auto identity = dyn_cast<IdentityOp>(op)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 03:47:00 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  7. security/pkg/k8s/configutil_test.go

    	}
    
    	for i, action := range actual {
    		expectedAction := expected[i]
    		verb := expectedAction.GetVerb()
    		resource := expectedAction.GetResource().Resource
    		if !action.Matches(verb, resource) {
    			return fmt.Errorf("unexpected %dth action, want \n%+v but got \n%+v\n%v", i, expectedAction, action, cmp.Diff(expectedAction, action))
    		}
    	}
    
    	return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 08 21:58:25 UTC 2024
    - 13K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/shape_inference.cc

        // For loop invariant resource input's Merge node, we set output resource
        // shape as Enter node's resource shape.
        // TODO(b/129367850): clean this up.
        if (n->IsMerge() && n->output_type(0) == DT_RESOURCE) {
          // Check if this is a loop invariant input's Merge node. We do it by
          // checking if corresponding NextIteration node comes from Switch node
          // directly.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

        URL getBaseUrl() throws IOException {
          // Find URL pointing to Finalizer.class file.
          String finalizerPath = FINALIZER_CLASS_NAME.replace('.', '/') + ".class";
          URL finalizerUrl = getClass().getClassLoader().getResource(finalizerPath);
          if (finalizerUrl == null) {
            throw new FileNotFoundException(finalizerPath);
          }
    
          // Find URL pointing to base of class path.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/registry/rest/update.go

    		finalAttributes := admission.NewAttributesRecord(
    			obj,
    			old,
    			staticAttributes.GetKind(),
    			staticAttributes.GetNamespace(),
    			staticAttributes.GetName(),
    			staticAttributes.GetResource(),
    			staticAttributes.GetSubresource(),
    			staticAttributes.GetOperation(),
    			staticAttributes.GetOperationOptions(),
    			staticAttributes.IsDryRun(),
    			staticAttributes.GetUserInfo(),
    		)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 27 11:48:28 UTC 2022
    - 11.8K bytes
    - Viewed (0)
Back to top