Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 229 for syncPod (0.34 sec)

  1. staging/src/k8s.io/apimachinery/README.md

    compatibility guarantee.
    
    
    ## Where does it come from?
    
    `apimachinery` is synced from https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery.
    Code changes are made in that location, merged into `k8s.io/kubernetes` and later synced here.
    
    
    ## Things you should *NOT* do
    
     1. Add API types to this repo. This is for the machinery, not for the types.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 03 01:38:34 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/cli-runtime/README.md

    compatibility guarantee.
    
    
    ## Where does it come from?
    
    `cli-runtime` is synced from https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/cli-runtime.
    Code changes are made in that location, merged into `k8s.io/kubernetes` and later synced here.
    
    
    ## Things you should *NOT* do
    
     1. Add API types to this repo.  This is for the helpers, not for the types.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 03 01:38:34 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/README.md

    compatibility guarantee. We have a goal to make this easier to use in the future.
    
    
    ## Where does it come from?
    
    `apiserver` is synced from https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apiserver.
    Code changes are made in that location, merged into `k8s.io/kubernetes` and later synced here.
    
    
    ## Things you should *NOT* do
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 03 01:38:34 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  4. pkg/kube/krt/collection.go

    type multiIndex[I, O any] struct {
    	outputs  map[Key[O]]O
    	inputs   map[Key[I]]I
    	mappings map[Key[I]]sets.Set[Key[O]]
    }
    
    func (h *manyCollection[I, O]) Synced() Syncer {
    	return channelSyncer{
    		name:   h.collectionName,
    		synced: h.synced,
    	}
    }
    
    // nolint: unused // (not true, its to implement an interface)
    func (h *manyCollection[I, O]) dump() {
    	h.recomputeMu.Lock()
    	defer h.recomputeMu.Unlock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. pilot/pkg/config/memory/controller_test.go

    	ctl := memory.NewController(store)
    
    	ctl.RegisterHasSyncedHandler(func() bool {
    		return atomic.LoadInt32(&v) > 0
    	})
    
    	if ctl.HasSynced() {
    		t.Error("has synced but should not")
    	}
    	atomic.StoreInt32(&v, 1)
    	if !ctl.HasSynced() {
    		t.Error("has not synced but should")
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 18 15:37:45 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  6. plugin/pkg/auth/authorizer/node/graph_populator.go

    			UpdateFunc: nil, // Not needed, NodeName is immutable.
    			DeleteFunc: g.deleteResourceSlice,
    		})
    		synced = append(synced, sliceHandler.HasSynced)
    	}
    
    	go cache.WaitForNamedCacheSync("node_authorizer", wait.NeverStop, synced...)
    }
    
    func (g *graphPopulator) addPod(obj interface{}) {
    	g.updatePod(nil, obj)
    }
    
    func (g *graphPopulator) updatePod(oldObj, obj interface{}) {
    	pod := obj.(*corev1.Pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. pkg/controller/job/job_controller.go

    		}
    	}
    	return pods, err
    }
    
    // syncJob will sync the job with the given key if it has had its expectations fulfilled, meaning
    // it did not expect to see any more of its pods created or deleted. This function is not meant to be invoked
    // concurrently with the same key.
    func (jm *Controller) syncJob(ctx context.Context, key string) (rErr error) {
    	startTime := jm.clock.Now()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  8. pkg/proxy/metrics/metrics.go

    		},
    	)
    
    	// SyncProxyRulesLastTimestamp is the timestamp proxy rules were last
    	// successfully synced.
    	SyncProxyRulesLastTimestamp = metrics.NewGauge(
    		&metrics.GaugeOpts{
    			Subsystem:      kubeProxySubsystem,
    			Name:           "sync_proxy_rules_last_timestamp_seconds",
    			Help:           "The last time proxy rules were successfully synced",
    			StabilityLevel: metrics.ALPHA,
    		},
    	)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  9. pkg/proxy/config/config_test.go

    	delete(h.state, namespacedName)
    	h.sendServices()
    }
    
    func (h *ServiceHandlerMock) OnServiceSynced() {
    	h.lock.Lock()
    	defer h.lock.Unlock()
    	h.synced = true
    	h.sendServices()
    }
    
    func (h *ServiceHandlerMock) sendServices() {
    	if !h.synced {
    		return
    	}
    	services := make([]*v1.Service, 0, len(h.state))
    	for _, svc := range h.state {
    		services = append(services, svc)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  10. pkg/kube/controllers/queue.go

    type syncSignal struct{}
    
    // defaultSyncSignal is a singleton instanceof syncSignal.
    var defaultSyncSignal = syncSignal{}
    
    // HasSynced returns true if the queue has 'synced'. A synced queue has started running and has
    // processed all events that were added prior to Run() being called Warning: these items will be
    // processed at least once, but may have failed.
    func (q Queue) HasSynced() bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 6.3K bytes
    - Viewed (0)
Back to top