Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 4,460 for Updater (0.31 sec)

  1. android/guava/src/com/google/common/util/concurrent/AtomicDouble.java

       */
      public final boolean compareAndSet(double expect, double update) {
        return value.compareAndSet(doubleToRawLongBits(expect), doubleToRawLongBits(update));
      }
    
      /**
       * Atomically sets the value to the given updated value if the current value is <a
       * href="#bitEquals">bitwise equal</a> to the expected value.
       *
       * <p>May <a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 28 21:00:54 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/serviceregistry_test.go

    		fx.WaitOrFail(t, "eds")
    		// Endpoint update is triggered since its a brand new service
    		if ev := fx.WaitOrFail(t, "xds full"); !ev.Reason.Has(model.EndpointUpdate) {
    			t.Fatalf("xds push reason does not contain %v: %v", model.EndpointUpdate, ev)
    		}
    		// headless service update must trigger nds push, so we trigger a full push.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    		meshConfig *meshconfig.MeshConfig,
    		expectedSvcList []*model.Service,
    		expectedNumSvcEvents int,
    		testMeshWatcher *mesh.TestWatcher,
    		fx *xdsfake.Updater,
    		controller *FakeController,
    	) {
    		// update meshConfig
    		if err := testMeshWatcher.Update(meshConfig, time.Second*5); err != nil {
    			t.Fatalf("%v", err)
    		}
    
    		// assert firing of service events
    		for i := 0; i < expectedNumSvcEvents; i++ {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  4. pkg/controller/volume/attachdetach/reconciler/reconciler.go

    				continue
    			}
    
    			// Before triggering volume detach, mark volume as detached and update the node status
    			// If it fails to update node status, skip detach volume
    			// If volume detach operation fails, the volume needs to be added back to report as attached so that node status
    			// has the correct volume attachment information.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 21:02:38 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  5. pkg/controller/deployment/progress.go

    			// behavior emulates the rolling updater progressDeadline check.
    			msg := fmt.Sprintf("Deployment %q is progressing.", d.Name)
    			if newRS != nil {
    				msg = fmt.Sprintf("ReplicaSet %q is progressing.", newRS.Name)
    			}
    			condition := util.NewDeploymentCondition(apps.DeploymentProgressing, v1.ConditionTrue, util.ReplicaSetUpdatedReason, msg)
    			// Update the current Progressing condition or add a new one if it doesn't exist.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 11:00:44 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/update.go

    	"k8s.io/klog/v2"
    )
    
    // UpdateResource returns a function that will handle a resource update
    func UpdateResource(r rest.Updater, scope *RequestScope, admit admission.Interface) http.HandlerFunc {
    	return func(w http.ResponseWriter, req *http.Request) {
    		ctx := req.Context()
    		// For performance tracking purposes.
    		ctx, span := tracing.Start(ctx, "Update", traceFields(req)...)
    		defer span.End(500 * time.Millisecond)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:19:46 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/serviceexportcache_test.go

    	ec.waitForXDS(t, false)
    }
    
    func (ec *serviceExportCacheImpl) waitForXDS(t *testing.T, exported bool) {
    	t.Helper()
    	retry.UntilSuccessOrFail(t, func() error {
    		event := ec.opts.XDSUpdater.(*xdsfake.Updater).WaitOrFail(t, "eds")
    		if len(event.Endpoints) != 1 {
    			return fmt.Errorf("waitForXDS failed: expected 1 endpoint, found %d", len(event.Endpoints))
    		}
    
    		hostName := host.Name(event.ID)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 18:50:38 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  8. pkg/controller/disruption/disruption.go

    	}
    	if cleanAfter > 0 {
    		dc.enqueueStalePodDisruptionCleanup(logger, pod, cleanAfter)
    		return nil
    	}
    
    	newPod := pod.DeepCopy()
    	updated := apipod.UpdatePodCondition(&newPod.Status, &v1.PodCondition{
    		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 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/installer.go

    				return nil, nil, err
    			}
    			addParams(route, action.Params)
    			routes = append(routes, route)
    		case "PATCH": // Partially update a resource
    			doc := "partially update the specified " + kind
    			if isSubresource {
    				doc = "partially update " + subresource + " of the specified " + kind
    			}
    			supportedTypes := []string{
    				string(types.JSONPatchType),
    				string(types.MergePatchType),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/memory/discovery.go

    	}
    	sd.handlers.NotifyServiceHandlers(nil, svc, model.EventDelete)
    	sd.mutex.Unlock()
    }
    
    // AddInstance adds an in-memory instance and notifies the XDS updater
    func (sd *ServiceDiscovery) AddInstance(instance *model.ServiceInstance) {
    	sd.mutex.Lock()
    	defer sd.mutex.Unlock()
    	service := instance.Service.Hostname
    	svc := sd.services[service]
    	if svc == nil {
    		return
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 23:10:01 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top