Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 229 for syncPod (0.1 sec)

  1. pkg/kube/multicluster/secretcontroller.go

    		return false
    	}
    	// Check all config cluster components are synced
    	// c.ConfigClusterHandler.HasSynced does not work; config cluster is handle specially
    	if !kube.AllSynced(c.configClusterSyncers) {
    		return false
    	}
    	// Check all remote clusters are synced (or timed out)
    	return c.cs.HasSynced()
    }
    
    func (c *Controller) processItem(key types.NamespacedName) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 02:13:10 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. pkg/kube/krt/core.go

    	// using krt), registering directly is expected.
    	Register(f func(o Event[T])) Syncer
    
    	// Synced returns a Syncer which can be used to determine if the collection has synced. Once its synced, all dependencies have
    	// been processed, and all handlers have been called with the results.
    	Synced() Syncer
    
    	// RegisterBatch registers a handler that accepts multiple events at once. This can be useful as an optimization.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. CONTRIBUTING.md

    Due to Guava's nature as a subset of Google's internal codebase which is
    automatically synced to the public GitHub repository, we are unable to merge
    pull requests directly into the master branch. Instead, once a pull request is
    ready for merging, we'll make the appropriate changes in the internal codebase
    and, when the change is synced out, give the pull request author credit for the
    commit.
    
    Contributor License Agreement
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Nov 17 18:47:47 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. pilot/pkg/config/memory/controller.go

    func (c *Controller) RegisterEventHandler(kind config.GroupVersionKind, f model.EventHandler) {
    	c.monitor.AppendEventHandler(kind, f)
    }
    
    // HasSynced return whether store has synced
    // It can be controlled externally (such as by the data source),
    // otherwise it'll always consider synced.
    func (c *Controller) HasSynced() bool {
    	if c.hasSynced != nil {
    		return c.hasSynced()
    	}
    	return true
    }
    
    func (c *Controller) Run(stop <-chan struct{}) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 26 13:54:32 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. pkg/kube/multicluster/cluster.go

    	switch a {
    	case Add:
    		return "Add"
    	case Update:
    		return "Update"
    	}
    	return "Unknown"
    }
    
    // Run starts the cluster's informers and waits for caches to sync. Once caches are synced, we mark the cluster synced.
    // This should be called after each of the handlers have registered informers, and should be run in a goroutine.
    func (c *Cluster) Run(mesh mesh.Watcher, handlers []handler, action ACTION) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 02:13:10 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. pkg/controller/statefulset/stateful_set.go

    	pvcListerSynced cache.InformerSynced
    	// revListerSynced returns true if the rev shared informer has synced at least once
    	revListerSynced cache.InformerSynced
    	// StatefulSets that need to be synced.
    	queue workqueue.TypedRateLimitingInterface[string]
    	// eventBroadcaster is the core of event processing pipeline.
    	eventBroadcaster record.EventBroadcaster
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion/types.go

    	//   and the bookmark event is send when the state is synced
    	//   to a `resourceVersion` at least as fresh as the one provided by the ListOptions.
    	//   If `resourceVersion` is unset, this is interpreted as "consistent read" and the
    	//   bookmark event is send when the state is synced at least to the moment
    	//   when request started being processed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 09:55:40 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/quota/v1/generic/evaluator.go

    			// short-circuit if already synced
    			return true
    		}
    		if hasSynced() {
    			// remember we synced
    			cache.Store(true)
    			return true
    		}
    		return false
    	}
    }
    
    // protectedLister returns notReadyError if hasSynced returns false, otherwise delegates to delegate
    type protectedLister struct {
    	hasSynced   func() bool
    	notReadyErr error
    	delegate    cache.GenericLister
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 05 00:02:47 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top