- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,067 for syncFn (0.24 sec)
-
subprojects/core/src/main/java/org/gradle/api/tasks/Sync.java
* // filter will not be deleted. * task sync(type: Sync) { * from 'source' * into 'dest' * preserve { * include 'extraDir/**' * include 'dir1/**' * exclude 'dir1/extra.txt' * } * } * </pre> */ @DisableCachingByDefault(because = "Not worth caching") public abstract class Sync extends AbstractCopyTask {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 24 23:13:41 UTC 2022 - 4.6K bytes - Viewed (0) -
pkg/controller/garbagecollector/garbagecollector.go
// have a way to distinguish this from a valid type we will recognize // after the next discovery sync. // For now, record the error and retry. logger.V(5).Error(err, "error syncing item", "item", n.identity) } else { utilruntime.HandleError(fmt.Errorf("error syncing item %s: %v", n, err)) } // retry if garbage collection of an object failed. return requeueItem
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 32.9K bytes - Viewed (0) -
pkg/kubelet/cm/dra/plugin/noderesources.go
} } } // run is running in the background. It handles blocking initialization (like // syncing the informer) and then syncs the actual with the desired state. func (c *nodeResourcesController) run(ctx context.Context) { logger := klog.FromContext(ctx) // When kubelet starts, we have two choices: // - Sync immediately, which in practice will delete all ResourceSlices
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 20:12:53 UTC 2024 - 16.6K bytes - Viewed (0) -
pkg/kube/krt/singleton.go
v := d.val.Load() if v == nil { return nil } return []T{*v} } func (d *static[T]) Register(f func(o Event[T])) Syncer { return registerHandlerAsBatched[T](d, f) } func (d *static[T]) RegisterBatch(f func(o []Event[T], initialSync bool), runExistingState bool) Syncer { d.eventHandlers.Insert(f) if runExistingState { v := d.val.Load() if v != nil { f([]Event[T]{{ New: v,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 4.2K bytes - Viewed (0) -
pkg/controller/nodeipam/ipam/range_allocator.go
return nil } // Run the syncHandler, passing it the namespace/name string of the // Foo resource to be synced. if err := r.syncNode(ctx, key); err != nil { // Put the item back on the queue to handle any transient errors. r.queue.AddRateLimited(key) return fmt.Errorf("error syncing '%s': %s, requeuing", key, err.Error()) } // Finally, if no error occurs we Forget this item so it does not
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 10:06:15 UTC 2024 - 16.2K bytes - Viewed (0) -
istioctl/pkg/writer/pilot/testdata/multiXdsStatusMultiPilot.txt
NAME CLUSTER CDS LDS EDS RDS ECDS ISTIOD VERSION proxy1 cluster1 STALE SYNCED SYNCED NOT SENT SYNCED istiod1 1.20 proxy2 cluster2 STALE SYNCED STALE SYNCED STALE istiod2 1.19 proxy3 cluster3 NOT SENT ERROR STALE NOT SENT NOT SENT istiod3 1.20
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 06 03:42:52 UTC 2024 - 522 bytes - Viewed (0) -
pkg/proxy/healthcheck/healthcheck_test.go
// Should return 200 "OK" irrespective of node syncs hs.SyncNode(makeNode(tweakTainted("other"))) testHTTPHandler(hsTest, http.StatusOK, t) // Should return 200 "OK" irrespective of node syncs hs.SyncNode(makeNode(tweakTainted(ToBeDeletedTaint))) testHTTPHandler(hsTest, http.StatusOK, t) // Should return 200 "OK" irrespective of node syncs hs.SyncNode(makeNode(tweakTainted("other")))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 26 13:27:41 UTC 2024 - 21.4K bytes - Viewed (0) -
pkg/controller/endpointslice/endpointslice_controller.go
// Added as a member to the struct to allow injection for testing. servicesSynced cache.InformerSynced // podLister is able to list/get pods and is populated by the // shared informer passed to NewController podLister corelisters.PodLister // podsSynced returns true if the pod shared informer has been synced at least once.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 08:33:32 UTC 2024 - 23.6K bytes - Viewed (0) -
pkg/controller/storageversionmigrator/storageversionmigrator.go
return false } defer svmc.queue.Done(key) err := svmc.sync(ctx, key) if err == nil { svmc.queue.Forget(key) return true } klog.FromContext(ctx).V(2).Info("Error syncing SVM resource, retrying", "svm", key, "err", err) svmc.queue.AddRateLimited(key) return true } func (svmc *SVMController) sync(ctx context.Context, key string) error { logger := klog.FromContext(ctx)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 9.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_source.go
s.policies.Store(&policies) if err != nil { // An error was generated while syncing policies. Mark it as dirty again // so we can retry later utilruntime.HandleError(fmt.Errorf("encountered error syncing policies: %w. Rescheduling policy sync", err)) s.notify() } } func (s *policySource[P, B, E]) notify() { s.policiesDirty.Store(true) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 21 23:07:34 UTC 2024 - 15.2K bytes - Viewed (0)