Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for addSources (0.41 sec)

  1. pkg/kubelet/config/sources.go

    type SourcesReadyFn func(sourcesSeen sets.Set[string]) bool
    
    // SourcesReady tracks the set of configured sources seen by the kubelet.
    type SourcesReady interface {
    	// AddSource adds the specified source to the set of sources managed.
    	AddSource(source string)
    	// AllReady returns true if the currently configured sources have all been seen.
    	AllReady() bool
    }
    
    // NewSourcesReady returns a SourcesReady with the specified function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/process/internal/AbstractWorkerProcessIntegrationSpec.groovy

            def classesDir = tmpDir.createDir("classes/$className")
            def compilationUnit = new CompilationUnit(new GroovyClassLoader(getClass().classLoader))
            compilationUnit.addSource(className, classText)
    
            def configuration = new CompilerConfiguration()
            configuration.setTargetDirectory(classesDir)
    
            compilationUnit.setConfiguration(configuration)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/configuration/ExecuteUserLifecycleListenerBuildOperationIntegrationTest.groovy

            def matchingChildren = op.children.findAll { it.hasDetailsOfType(ExecuteListenerBuildOperationType.Details) && it.details.applicationId == expectedApplicationId }
            verifyExpectedOps(matchingChildren, addSource(expectedOps, sourceName))
            matchingChildren
        }
    
        private static void verifyHasNoChildren(BuildOperationRecord op, long expectedApplicationId) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/devicemanager/manager.go

    }
    
    type sourcesReadyStub struct{}
    
    // PodReusableDevices is a map by pod name of devices to reuse.
    type PodReusableDevices map[string]map[string]sets.Set[string]
    
    func (s *sourcesReadyStub) AddSource(source string) {}
    func (s *sourcesReadyStub) AllReady() bool          { return true }
    
    // NewManagerImpl creates a new manager.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 43K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet.go

    			klog.ErrorS(nil, "Kubelet does not support snapshot update")
    		default:
    			klog.ErrorS(nil, "Invalid operation type received", "operation", u.Op)
    		}
    
    		kl.sourcesReady.AddSource(u.Source)
    
    	case e := <-plegCh:
    		if isSyncPodWorthy(e) {
    			// PLEG event for a pod; sync it.
    			if pod, ok := kl.podManager.GetPodByUID(e.ID); ok {
    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