Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,067 for syncFn (0.12 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/README.md

    ## Where does it come from?
    
    `apiextensions-apiserver` is synced from https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apiextensions-apiserver.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 06:41:15 UTC 2023
    - 742 bytes
    - Viewed (0)
  2. pkg/controller/ttl/ttl_controller.go

    	kubeClient clientset.Interface
    
    	// nodeStore is a local cache of nodes.
    	nodeStore listers.NodeLister
    
    	// Nodes that need to be synced.
    	queue workqueue.TypedRateLimitingInterface[string]
    
    	// Returns true if all underlying informers are synced.
    	hasSynced func() bool
    
    	lock sync.RWMutex
    
    	// Number of nodes in the cluster.
    	nodeCount int
    
    	// Desired TTL for all nodes in the cluster.
    	desiredTTLSeconds int
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. pkg/proxy/winkernel/proxier.go

    	proxier.mu.Lock()
    	defer proxier.mu.Unlock()
    
    	// don't sync rules till we've received services and endpoints
    	if !proxier.isInitialized() {
    		klog.V(2).InfoS("Not syncing hns until Services and Endpoints have been received from master")
    		return
    	}
    
    	// Keep track of how long syncs take.
    	start := time.Now()
    	defer func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
  4. pkg/proxy/nftables/proxier.go

    	defer proxier.mu.Unlock()
    
    	// don't sync rules till we've received services and endpoints
    	if !proxier.isInitialized() {
    		proxier.logger.V(2).Info("Not syncing nftables until Services and Endpoints have been received from master")
    		return
    	}
    
    	//
    	// Below this point we will not return until we try to write the nftables rules.
    	//
    
    	// Keep track of how long syncs take.
    	start := time.Now()
    	defer func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  5. pkg/kubelet/status/status_manager.go

    	kubeClient clientset.Interface
    	podManager PodManager
    	// Map from pod UID to sync status of the corresponding pod.
    	podStatuses      map[types.UID]versionedPodStatus
    	podStatusesLock  sync.RWMutex
    	podStatusChannel chan struct{}
    	// Map from (mirror) pod UID to latest status version successfully sent to the API server.
    	// apiStatusVersions must only be accessed from the sync thread.
    	apiStatusVersions map[kubetypes.MirrorPodUID]uint64
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  6. pkg/controller/job/job_controller.go

    	syncHandler         func(ctx context.Context, jobKey string) error
    	// podStoreSynced returns true if the pod store has been synced at least once.
    	// Added as a member to the struct to allow injection for testing.
    	podStoreSynced cache.InformerSynced
    	// jobStoreSynced returns true if the job store has been synced at least once.
    	// Added as a member to the struct to allow injection for testing.
    	jobStoreSynced cache.InformerSynced
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  7. pkg/controller/job/metrics/metrics.go

    limitations under the License.
    */
    
    package metrics
    
    import (
    	"sync"
    
    	"k8s.io/component-base/metrics"
    	"k8s.io/component-base/metrics/legacyregistry"
    )
    
    // JobControllerSubsystem - subsystem name used for this controller.
    const JobControllerSubsystem = "job_controller"
    
    var (
    	// JobSyncDurationSeconds tracks the latency of Job syncs. Possible label
    	// values:
    	//   completion_mode: Indexed, NonIndexed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 17:25:15 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/informers/externalversions/factory.go

    //	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
    //	    }
    //	}
    //
    //	// Creating informers can also be created after Start, but then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 18:31:26 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/client/informers/externalversions/factory.go

    //	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
    //	    }
    //	}
    //
    //	// Creating informers can also be created after Start, but then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 18:31:26 UTC 2023
    - 9K bytes
    - Viewed (0)
  10. pkg/kubelet/pod_workers_test.go

    	}
    	if !podWorkers.CouldHaveRunningContainers(types.UID("abc")) {
    		t.Errorf("Expected pod to potentially have running containers (does not exist but not yet synced)")
    	}
    	if podWorkers.ShouldPodContentBeRemoved(types.UID("abc")) {
    		t.Errorf("Expected pod to not be suitable for removal (does not exist but not yet synced)")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
Back to top