Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 41 for updateStats (3.9 sec)

  1. pkg/controller/resourceclaim/controller.go

    		}
    
    		claim, err := ec.kubeClient.ResourceV1alpha2().ResourceClaims(claim.Namespace).UpdateStatus(ctx, claim, metav1.UpdateOptions{})
    		if err != nil {
    			return err
    		}
    
    		// Now also remove the finalizer if it is not needed anymore.
    		// Note that the index may have changed as a result of the UpdateStatus call.
    		builtinControllerFinalizer := slices.Index(claim.Finalizers, resourcev1alpha2.Finalizer)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  2. pkg/controller/storageversiongc/gc_controller.go

    			ctx, sv.Name, metav1.DeleteOptions{})
    	}
    	sv.Status.StorageVersions = serverStorageVersions
    	storageversion.SetCommonEncodingVersion(sv)
    	_, err := c.kubeclientset.InternalV1alpha1().StorageVersions().UpdateStatus(
    		ctx, sv, metav1.UpdateOptions{})
    	return err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. security/pkg/k8s/chiron/utils_test.go

    					time.Sleep(time.Millisecond * 25)
    					csr.Status.Certificate = certificate
    					_, err := client.Kube().CertificatesV1().CertificateSigningRequests().UpdateStatus(ctx, csr, metav1.UpdateOptions{})
    					log.Debugf("test signer sign %v: %v", csr.Name, err)
    				} else {
    					log.Debugf("test signer skip, not approved: %v", csr.Name)
    				}
    			}
    		}
    	}()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 03:58:11 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. pilot/pkg/model/authorization_test.go

    	return "not implemented", nil
    }
    
    func (fs *authzFakeStore) Update(config.Config) (string, error) {
    	return "not implemented", nil
    }
    
    func (fs *authzFakeStore) UpdateStatus(config.Config) (string, error) {
    	return "not implemented", nil
    }
    
    func (fs *authzFakeStore) Patch(orig config.Config, patchFn config.PatchFunc) (string, error) {
    	return "not implemented", nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. tensorflow/cc/framework/scope.h

      /// Note: The status object is shared between all children of this scope.
      /// If the resulting status is not OkStatus() and exit_on_error_ is set on
      /// this scope, this function exits by calling LOG(FATAL).
      void UpdateStatus(const Status& s) const;
    
      // START_SKIP_DOXYGEN
    
      /// Update the builder with properties accumulated in this scope. Does not set
      /// status().
      // TODO(skyewm): NodeBuilder is not part of public API
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 09:08:33 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. cmd/kube-proxy/app/server_test.go

    	time.Sleep(1200 * time.Millisecond)
    
    	_, _ = client.CoreV1().Nodes().UpdateStatus(context.TODO(),
    		makeNodeWithAddress("node1", "192.168.0.1"),
    		metav1.UpdateOptions{},
    	)
    	_, _ = client.CoreV1().Nodes().UpdateStatus(context.TODO(),
    		makeNodeWithAddress("node2", "192.168.0.2"),
    		metav1.UpdateOptions{},
    	)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/status/naming_controller.go

    	apiextensionshelpers.SetCRDCondition(crd, namingCondition)
    	apiextensionshelpers.SetCRDCondition(crd, establishedCondition)
    
    	updatedObj, err := c.crdClient.CustomResourceDefinitions().UpdateStatus(context.TODO(), crd, metav1.UpdateOptions{})
    	if apierrors.IsNotFound(err) || apierrors.IsConflict(err) {
    		// deleted or changed in the meantime, we'll get called again
    		return nil
    	}
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. pkg/kubelet/volumemanager/reconciler/reconstruct_common.go

    		outerVolumeSpecName: volume.volumeSpecName,
    		pod:                 pod,
    		deviceMounter:       deviceMounter,
    		volumeGidValue:      "",
    		// devicePath is updated during updateStates() by checking node status's VolumesAttached data.
    		// TODO: get device path directly from the volume mount path.
    		devicePath:          "",
    		mounter:             volumeMounter,
    		blockVolumeMapper:   volumeMapper,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. tensorflow/cc/gradients/array_grad.cc

              .Input(::tensorflow::ops::AsNodeOutList(scope, shapes.output));
      scope.UpdateBuilder(&builder);
      ::tensorflow::Node* concat_offset_node;
      scope.UpdateStatus(builder.Finalize(scope.graph(), &concat_offset_node));
      scope.UpdateStatus(scope.DoShapeInference(concat_offset_node));
      if (concat_offset_node->num_outputs() != inputs.size()) {
        return errors::Internal("ConcatOffset has invalid output count");
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 31.7K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/pod.go

    func (pc *PodCache) onEvent(_, pod *v1.Pod, ev model.Event) error {
    	ip := pod.Status.PodIP
    	// PodIP will be empty when pod is just created, but before the IP is assigned
    	// via UpdateStatus.
    	if len(ip) == 0 {
    		return nil
    	}
    
    	key := config.NamespacedName(pod)
    	switch ev {
    	case model.EventAdd:
    		if shouldPodBeInEndpoints(pod) && IsPodReady(pod) {
    			pc.addPod(pod, ip, key)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top