Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 52 for updateStats (0.49 sec)

  1. pilot/pkg/config/kube/gateway/controller.go

    	return "", errUnsupportedOp
    }
    
    func (c *Controller) Update(config config.Config) (newRevision string, err error) {
    	return "", errUnsupportedOp
    }
    
    func (c *Controller) UpdateStatus(config config.Config) (newRevision string, err error) {
    	return "", errUnsupportedOp
    }
    
    func (c *Controller) Patch(orig config.Config, patchFn config.PatchFunc) (string, error) {
    	return "", errUnsupportedOp
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. staging/src/k8s.io/apiextensions-apiserver/test/integration/pruning_test.go

    	unstructured.SetNestedField(foo.Object, float64(42.0), "status", "beta")
    	unstructured.SetNestedField(foo.Object, "bar", "metadata", "unspecified")
    
    	foo, err = fooClient.UpdateStatus(context.TODO(), foo, metav1.UpdateOptions{})
    	if err != nil {
    		t.Fatalf("Unable to update status: %v", err)
    	}
    
    	if _, found, _ := unstructured.NestedFieldNoCopy(foo.Object, "unspecified"); found {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. pkg/registry/core/pod/storage/eviction.go

    	// be deleted at all and remove it from DisruptedPod map.
    	pdb.Status.DisruptedPods[podName] = metav1.Time{Time: time.Now()}
    	if _, err := r.podDisruptionBudgetClient.PodDisruptionBudgets(namespace).UpdateStatus(context.TODO(), &pdb, metav1.UpdateOptions{}); err != nil {
    		return err
    	}
    
    	return nil
    }
    
    // getPodDisruptionBudgets returns any PDBs that match the pod or err if there's an error.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 08 11:58:48 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  10. 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)
Back to top