Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 91 for updateStats (0.43 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    			// Actually fetch
    			origState, err = getCurrentState()
    			if err != nil {
    				return err
    			}
    			origStateIsCurrent = true
    			// Retry
    			continue
    		}
    
    		ret, ttl, err := s.updateState(origState, tryUpdate)
    		if err != nil {
    			// If our data is already up to date, return the error
    			if origStateIsCurrent {
    				return err
    			}
    
    			// It's possible we were working with stale data
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  2. pilot/pkg/model/config.go

    	// operation to achieve optimistic concurrency. This method returns a new
    	// revision if the operation succeeds.
    	Update(config config.Config) (newRevision string, err error)
    	UpdateStatus(config config.Config) (newRevision string, err error)
    
    	// Patch applies only the modifications made in the PatchFunc rather than doing a full replace. Useful to avoid
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 08:51:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. pilot/pkg/xds/workload_test.go

    func createPod(s *xds.FakeDiscoveryServer, name string, sa string, ip string, node string) {
    	pod := mkPod(name, sa, ip, node)
    	pods := clienttest.NewWriter[*corev1.Pod](s.T(), s.KubeClient())
    	pods.CreateOrUpdate(pod)
    	pods.UpdateStatus(pod)
    }
    
    // nolint: unparam
    func createService(s *xds.FakeDiscoveryServer, name, namespace string, selector map[string]string) {
    	service := &corev1.Service{
    		ObjectMeta: metav1.ObjectMeta{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

            saveToken();
            return asEditTagsHtml(form.path, form.name);
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse updateTags(final TagForm form) {
            validate(form, messages -> {}, () -> asEditTagsHtml(form.path, form.name));
            final String objectName = getObjectName(form.path, form.name);
            try {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  5. pkg/controller/disruption/disruption.go

    		Type:   v1.DisruptionTarget,
    		Status: v1.ConditionFalse,
    	})
    	if !updated {
    		return nil
    	}
    	if _, err := dc.kubeClient.CoreV1().Pods(pod.Namespace).UpdateStatus(ctx, newPod, metav1.UpdateOptions{}); err != nil {
    		return err
    	}
    	logger.V(2).Info("Reset stale DisruptionTarget condition to False", "pod", klog.KObj(pod))
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/deadness_analysis_test.cc

                         .Input(_data)
                         .Input(_output_index)
                         .Attr("num_outs", num_outs);
      scope.UpdateBuilder(&builder);
      scope.UpdateStatus(builder.Finalize(scope.graph(), &ret));
      if (!scope.ok()) return;
      scope.UpdateStatus(scope.DoShapeInference(ret));
      for (int32_t i = 0; i < ret->num_outputs(); ++i) {
        outputs->push_back(Output(ret, i));
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  7. pilot/pkg/networking/grpcgen/grpcgen_test.go

    // event through a channel.
    type testClientConn struct {
    	resolver.ClientConn
    	stateCh chan resolver.State
    	errorCh chan error
    }
    
    func (t *testClientConn) UpdateState(s resolver.State) error {
    	t.stateCh <- s
    	return nil
    }
    
    func (t *testClientConn) ReportError(err error) {
    	t.errorCh <- err
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 09:04:02 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  8. pkg/controller/resourcequota/resource_quota_controller.go

    	// there was a change observed by this controller that requires we update quota
    	if dirty {
    		_, err = rq.rqClient.ResourceQuotas(usage.Namespace).UpdateStatus(ctx, usage, metav1.UpdateOptions{})
    		if err != nil {
    			errs = append(errs, err)
    		}
    	}
    	return utilerrors.NewAggregate(errs)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  9. pkg/controller/deployment/deployment_controller.go

    		if d.Status.ObservedGeneration < d.Generation {
    			d.Status.ObservedGeneration = d.Generation
    			dc.client.AppsV1().Deployments(d.Namespace).UpdateStatus(ctx, d, metav1.UpdateOptions{})
    		}
    		return nil
    	}
    
    	// List ReplicaSets owned by this Deployment, while reconciling ControllerRef
    	// through adoption/orphaning.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  10. pkg/controller/daemon/update.go

    		}
    		if currDS.Status.CollisionCount == nil {
    			currDS.Status.CollisionCount = new(int32)
    		}
    		*currDS.Status.CollisionCount++
    		_, updateErr := dsc.kubeClient.AppsV1().DaemonSets(ds.Namespace).UpdateStatus(ctx, currDS, metav1.UpdateOptions{})
    		if updateErr != nil {
    			return nil, updateErr
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 16:53:53 UTC 2024
    - 24.4K bytes
    - Viewed (0)
Back to top