Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 4,438 for Updatef (0.13 sec)

  1. cmd/metacache-bucket.go

    	}
    }
    
    // updateCacheEntry will update a cache.
    // Returns the updated status.
    func (b *bucketMetacache) updateCacheEntry(update metacache) (metacache, error) {
    	b.mu.Lock()
    	defer b.mu.Unlock()
    	existing, ok := b.caches[update.id]
    	if !ok {
    		return update, errFileNotFound
    	}
    	existing.update(update)
    	b.caches[update.id] = existing
    	b.updated = true
    	return existing, nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/fieldmanager.go

    	}
    	return managed, nil
    }
    
    // Update is used when the object has already been merged (non-apply
    // use-case), and simply updates the managed fields in the output
    // object.
    func (f *FieldManager) Update(liveObj, newObj runtime.Object, manager string) (object runtime.Object, err error) {
    	// First try to decode the managed fields provided in the update,
    	// This is necessary to allow directly updating managed fields.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 16 20:03:48 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  3. pkg/controlplane/controller/kubernetesservice/controller.go

    		if reconcile {
    			if svc, updated := getMasterServiceUpdateIfNeeded(s, servicePorts, serviceType); updated {
    				klog.Warningf("Resetting master service %q to %#v", serviceName, svc)
    				_, err := c.client.CoreV1().Services(metav1.NamespaceDefault).Update(context.TODO(), svc, metav1.UpdateOptions{})
    				return err
    			}
    		}
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 16 16:33:01 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  4. pilot/pkg/xds/ads.go

    		Start: con.proxy.LastPushTime,
    		Delta: delta,
    	}
    
    	// SidecarScope for the proxy may not have been updated based on this pushContext.
    	// It can happen when `processRequest` comes after push context has been updated(s.initPushContext),
    	// but proxy's SidecarScope has been updated(s.computeProxyState -> SetSidecarScope) due to optimizations that skip sidecar scope
    	// computation.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/structuredmerge.go

    	objectDefaulter runtime.ObjectDefaulter
    	groupVersion    schema.GroupVersion
    	hubVersion      schema.GroupVersion
    	updater         merge.Updater
    }
    
    var _ Manager = &structuredMergeManager{}
    
    // NewStructuredMergeManager creates a new Manager that merges apply requests
    // and update managed fields for other types of requests.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:55:50 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  6. pkg/config/mesh/watcher.go

    			log.Infof("Applied revision mesh config: %s", PrettyFormatOfMeshConfig(mc))
    		}
    	}
    	return mc
    }
    
    // HandleMeshConfig calls all handlers for a given mesh configuration update. This must be called
    // with a lock on w.Mutex, or updates may be applied out of order.
    func (w *internalWatcher) HandleMeshConfig(meshConfig *meshconfig.MeshConfig) {
    	w.mutex.Lock()
    	defer w.mutex.Unlock()
    	w.handleMeshConfigInternal(meshConfig)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 20 18:33:38 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  7. pkg/kubelet/pleg/generic.go

    				// this relist execution)
    				delete(g.podsToReinspect, pid)
    				if utilfeature.DefaultFeatureGate.Enabled(features.EventedPLEG) {
    					if !updated {
    						continue
    					}
    				}
    			}
    		}
    		// Update the internal storage and send out the events.
    		g.podRecords.update(pid)
    
    		// Map from containerId to exit code; used as a temporary cache for lookup
    		containerExitCode := make(map[string]int)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go

    	// clients are expecting an updated object if a PUT succeeded, but
    	// finalizeDelete returns a metav1.Status, so return the object in
    	// the request instead.
    	return obj, false, err
    }
    
    // Update performs an atomic update and set of the object. Returns the result of the update
    // or an error. If the registry allows create-on-update, the create flow will be executed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 23:22:44 UTC 2024
    - 60.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/controller.go

    //     mark the waiter as succeeded.  If some quota did change, update the running quotas
    //  2. If no running quota was changed, return now since no updates are needed.
    //  3. for each quota that has changed, attempt an update.  If all updates succeeded, update all unset waiters to success status and return.  If the some
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  10. pkg/kubelet/prober/results/results_manager_test.go

    	expectUpdate := func(expected Update, msg string) {
    		select {
    		case u := <-m.Updates():
    			if expected != u {
    				t.Errorf("Expected update %v, received %v: %s", expected, u, msg)
    			}
    		case <-time.After(wait.ForeverTestTimeout):
    			t.Errorf("Timed out waiting for update %v: %s", expected, msg)
    		}
    	}
    
    	expectNoUpdate := func(msg string) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 02 10:55:41 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top