Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 242 for syncPod (0.28 sec)

  1. hack/_update-generated-proto-bindings-dockerized.sh

    if [ "$#" == 0 ]; then
        echo "usage: $0 <api_dir>..."
        exit 1
    fi
    
    kube::protoc::check_protoc
    
    for api; do
        # This can't use `git ls-files` because it runs in a container without the
        # .git dir synced.
        protos=()
        kube::util::read-array protos < <( \
            find "${api}" -type f -name "api.proto")
    
        if [ "${#protos[@]}" == 0 ]; then
            echo "ERROR: no 'api.proto' files under '${api}'"
            exit 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:04 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. pkg/controller/garbagecollector/config/types.go

    	Resource string
    }
    
    // GarbageCollectorControllerConfiguration contains elements describing GarbageCollectorController.
    type GarbageCollectorControllerConfiguration struct {
    	// enables the generic garbage collector. MUST be synced with the
    	// corresponding flag of the kube-apiserver. WARNING: the generic garbage
    	// collector is an alpha feature.
    	EnableGarbageCollector bool
    	// concurrentGCSyncs is the number of garbage collector workers that are
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 04:54:33 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/informers/externalversions/factory.go

    //	genericInformer := factory.ForResource(resource)
    //	typedInformer := factory.SomeAPIGroup().V1().SomeType()
    //	factory.Start(ctx.Done())          // Start processing these informers.
    //	synced := factory.WaitForCacheSync(ctx.Done())
    //	for v, ok := range synced {
    //	    if !ok {
    //	        fmt.Fprintf(os.Stderr, "caches failed to sync: %v", v)
    //	        return
    //	    }
    //	}
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 18:31:26 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/client/informers/externalversions/factory.go

    //	genericInformer := factory.ForResource(resource)
    //	typedInformer := factory.SomeAPIGroup().V1().SomeType()
    //	factory.Start(ctx.Done())          // Start processing these informers.
    //	synced := factory.WaitForCacheSync(ctx.Done())
    //	for v, ok := range synced {
    //	    if !ok {
    //	        fmt.Fprintf(os.Stderr, "caches failed to sync: %v", v)
    //	        return
    //	    }
    //	}
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 18:31:26 UTC 2023
    - 9K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/Version.java

     */
    
    package org.gradle.api.internal.artifacts.ivyservice.ivyresolve.strategy;
    
    import org.gradle.util.internal.VersionNumber;
    
    /**
     * A parsed version.
     *
     * This should be synced with {@link VersionNumber} and {@link org.gradle.util.GradleVersion} at some point.
     */
    public interface Version {
        /**
         * Returns the original {@link String} representation of the version.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex.go

    }
    
    func (a *index) SyncAll() {
    	a.networkUpdateTrigger.TriggerRecomputation()
    }
    
    func (a *index) HasSynced() bool {
    	return a.services.Synced().HasSynced() &&
    		a.workloads.Synced().HasSynced() &&
    		a.waypoints.Synced().HasSynced() &&
    		a.authorizationPolicies.Synced().HasSynced()
    }
    
    type LookupNetwork func(endpointIP string, labels labels.Instance) network.ID
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 19 17:19:41 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. pkg/queue/instance.go

    	// HasSynced returns true once the queue has synced.
    	// Syncing indicates that all items in the queue *before* Run was called have been processed.
    	HasSynced() bool
    }
    
    type queueImpl struct {
    	delay     time.Duration
    	tasks     []*queueTask
    	cond      *sync.Cond
    	closing   bool
    	closed    chan struct{}
    	closeOnce *sync.Once
    	// initialSync indicates the queue has initially "synced".
    	initialSync *atomic.Bool
    	id          string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jul 21 16:30:36 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  8. pkg/kube/kclient/crdwatcher.go

    	if fv.LessThan(mv) {
    		log.Infof("CRD %v version %v is below minimum version %v, ignoring", crd.Name, fv, mv)
    		return false
    	}
    	return true
    }
    
    // HasSynced returns whether the underlying cache has synced and the callback has been called at least once.
    func (c *crdWatcher) HasSynced() bool {
    	return c.queue.HasSynced()
    }
    
    // Run starts the controller. This must be called.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. pkg/volume/csi/testing/testing.go

    	csiDriverLister := csiDriverInformer.Lister()
    
    	factory.Start(wait.NeverStop)
    	syncedTypes := factory.WaitForCacheSync(wait.NeverStop)
    	if len(syncedTypes) != 1 {
    		t.Fatalf("informers are not synced")
    	}
    	for ty, ok := range syncedTypes {
    		if !ok {
    			t.Fatalf("failed to sync: %#v", ty)
    		}
    	}
    
    	host := volumetest.NewFakeVolumeHostWithCSINodeName(t,
    		tmpDir,
    		client,
    		csi.ProbeVolumePlugins(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 07 00:11:50 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  10. pkg/kube/krt/static.go

    }
    
    func (s *staticList[T]) List() []T {
    	return maps.Values(s.vals)
    }
    
    func (s *staticList[T]) Register(f func(o Event[T])) Syncer {
    	return registerHandlerAsBatched(s, f)
    }
    
    func (s *staticList[T]) Synced() Syncer {
    	return alwaysSynced{}
    }
    
    func (s *staticList[T]) RegisterBatch(f func(o []Event[T], initialSync bool), runExistingState bool) Syncer {
    	if runExistingState {
    		f(slices.Map(s.List(), func(e T) Event[T] {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top