Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for addSources (0.26 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. build-logic/kotlin-dsl/src/main/kotlin/gradlebuild/kotlindsl/generator/codegen/FunctionSinceRepository.kt

                                sourceFile.bufferedReader().readText().replace("@org.jetbrains.annotations.Nullable", "")
                            addSource(StringReader(filteredSourceCode))
                        } else {
                            addSource(sourceFile)
                        }
                    }
            }
    
        override fun close() =
            loader.close()
    }
    
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 17:09:50 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. pkg/config/analysis/incluster/controller.go

    	analyzer := analyzers.AllCombined()
    	all := kuberesource.ConvertInputsToSchemas(analyzer.Metadata().Inputs)
    
    	ia := local.NewIstiodAnalyzer(analyzer, "", resource.Namespace(namespace), func(name config.GroupVersionKind) {})
    	ia.AddSource(rwConfigStore)
    
    	// Filter out configs watched by rwConfigStore so we don't watch multiple times
    	store := crdclient.NewForSchemas(kubeClient,
    		crdclient.Option{
    			Revision:     revision,
    			DomainSuffix: domainSuffix,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 17:36:47 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. 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)
  5. pkg/config/analysis/local/istiod_analyze.go

    		}
    	}
    }
    
    // AddSource adds a source based on user supplied configstore to the current IstiodAnalyzer
    // Assumes that the source has same or subset of resource types that this analyzer is configured with.
    // This can be used by external users who import the analyzer as a module within their own controllers.
    func (sa *IstiodAnalyzer) AddSource(src model.ConfigStoreController) {
    	sa.stores = append(sa.stores, src)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 21:06:13 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  6. pkg/config/analysis/local/analyze_test.go

    }
    
    func TestAddInMemorySource(t *testing.T) {
    	g := NewWithT(t)
    
    	sa := NewSourceAnalyzer(blankCombinedAnalyzer, "", "", nil)
    
    	src := model.NewFakeStore()
    	sa.AddSource(dfCache{ConfigStore: src})
    	assert.Equal(t, sa.meshCfg, mesh.DefaultMeshConfig()) // Base default meshcfg
    	g.Expect(sa.meshNetworks.Networks).To(HaveLen(0))
    	g.Expect(sa.stores).To(HaveLen(1))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 09 07:43:43 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Float64", Func, 21},
    		{"Float64Value", Func, 21},
    		{"Group", Func, 21},
    		{"GroupValue", Func, 21},
    		{"Handler", Type, 21},
    		{"HandlerOptions", Type, 21},
    		{"HandlerOptions.AddSource", Field, 21},
    		{"HandlerOptions.Level", Field, 21},
    		{"HandlerOptions.ReplaceAttr", Field, 21},
    		{"Info", Func, 21},
    		{"InfoContext", Func, 21},
    		{"Int", Func, 21},
    		{"Int64", Func, 21},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top