Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 52 for updateStats (3.32 sec)

  1. 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)
  2. 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)
  3. pkg/controller/namespace/deletion/namespaced_resources_deleter.go

    		return namespace, nil
    	}
    	newNamespace := namespace.DeepCopy()
    	newNamespace.Status.Phase = v1.NamespaceTerminating
    	return d.nsClient.UpdateStatus(ctx, newNamespace, metav1.UpdateOptions{})
    }
    
    // finalized returns true if the namespace.Spec.Finalizers is an empty list
    func finalized(namespace *v1.Namespace) bool {
    	return len(namespace.Spec.Finalizers) == 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 07:34:23 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. pilot/pkg/config/kube/ingress/controller.go

    	return "", errUnsupportedOp
    }
    
    func (c *controller) Update(_ config.Config) (string, error) {
    	return "", errUnsupportedOp
    }
    
    func (c *controller) UpdateStatus(config.Config) (string, error) {
    	return "", errUnsupportedOp
    }
    
    func (c *controller) Patch(_ config.Config, _ config.PatchFunc) (string, error) {
    	return "", errUnsupportedOp
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top