Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SeenAllSources (0.12 sec)

  1. pkg/kubelet/config/config.go

    	c.sourcesLock.Lock()
    	defer c.sourcesLock.Unlock()
    	c.sources.Insert(source)
    	return c.mux.ChannelWithContext(ctx, source)
    }
    
    // SeenAllSources returns true if seenSources contains all sources in the
    // config, and also this config has received a SET message from each source.
    func (c *PodConfig) SeenAllSources(seenSources sets.Set[string]) bool {
    	if c.pods == nil {
    		return false
    	}
    	c.sourcesLock.Lock()
    	defer c.sourcesLock.Unlock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. pkg/kubelet/config/config_test.go

    		defer cancel()
    		defer wg.Done()
    		for i := 0; i < iterations; i++ {
    			config.Channel(ctx, strconv.Itoa(i))
    		}
    	}()
    	go func() {
    		defer wg.Done()
    		for i := 0; i < iterations; i++ {
    			config.SeenAllSources(seenSources)
    		}
    	}()
    
    	wg.Wait()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet.go

    		podLogsDirectory:               podLogsDirectory,
    		resyncInterval:                 kubeCfg.SyncFrequency.Duration,
    		sourcesReady:                   config.NewSourcesReady(kubeDeps.PodConfig.SeenAllSources),
    		registerNode:                   registerNode,
    		registerWithTaints:             registerWithTaints,
    		registerSchedulable:            registerSchedulable,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
Back to top