Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 263 for binder (0.31 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/UnboundRulesProcessor.java

        public List<? extends UnboundRule> process() {
            List<UnboundRule> unboundRules = new ArrayList<UnboundRule>();
            for (RuleBinder binder : binders) {
                UnboundRule.Builder builder = UnboundRule.descriptor(String.valueOf(binder.getDescriptor()));
    
                ModelBinding subjectBinding = binder.getSubjectBinding();
                // Only report subject binding if target state is after node creation
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/UnboundRulesProcessorTest.groovy

        List<RuleBinder> binders = []
    
        Transformer<List<ModelPath>, ModelPath> suggestionProvider = Transformers.constant([])
    
        String getReportForProcessedBinders() {
            reportFor(new UnboundRulesProcessor(binders, suggestionProvider).process())
        }
    
        void binder(@DelegatesTo(RuleBinderTestBuilder) Closure config) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/volumebinding/fake_binder.go

    limitations under the License.
    */
    
    package volumebinding
    
    import (
    	"context"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/klog/v2"
    )
    
    // FakeVolumeBinderConfig holds configurations for fake volume binder.
    type FakeVolumeBinderConfig struct {
    	AllBound    bool
    	FindReasons ConflictReasons
    	FindErr     error
    	AssumeErr   error
    	BindErr     error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 21 03:28:12 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/internal/PluginConfigurationModule.java

            this.plugin = plugin;
        }
    
        @Override
        public void configure(Binder binder) {
            if (plugin.getKey() != null) {
                XmlNode configuration = plugin.getConfiguration();
                if (configuration == null) {
                    configuration = new XmlNodeImpl("configuration");
                }
                binder.bind(XmlNode.class)
                        .annotatedWith(Names.named(plugin.getKey()))
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 07:14:56 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. maven-embedder/src/main/java/org/apache/maven/cli/ExtensionConfigurationModule.java

        }
    
        @Override
        public void configure(Binder binder) {
            if (extension.getKey() != null) {
                XmlNode configuration = extension.getConfiguration();
                if (configuration == null) {
                    configuration = new XmlNodeImpl("configuration");
                }
                configuration = new Interpolator().transform(configuration);
    
                binder.bind(XmlNode.class)
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 17 17:53:33 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelNodeInternal.java

            this.hidden = hidden;
        }
    
        public void notifyFired(RuleBinder binder) {
            assert binder.isBound() : "RuleBinder must be in a bound state";
            for (ModelBinding inputBinding : binder.getInputBindings()) {
                ModelNodeInternal node = inputBinding.getNode();
                if (dependencies == null) {
                    dependencies = new HashSet<>();
                }
                dependencies.add(node);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 12:51:08 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                            AnnotatedBindingBuilder<Object> binder = bind(itf);
                            if (key.getQualifier() instanceof String s) {
                                binder.annotatedWith(Names.named(s));
                            } else if (key.getQualifier() instanceof Annotation a) {
                                binder.annotatedWith(a);
                            }
                            binder.toProvider(() -> injector.getInstance(clazz));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/RegistrySpec.groovy

                def binder = new RuleBinder(subjectReference, inputReferences, action, [])
                if (subjectReferenceBindingPath) {
                    binder.subjectBinding.boundTo = new TestNode(subjectReferenceBindingPath, Object)
                }
                boundInputReferencePaths.each { index, path ->
                    binder.inputBindings[index].boundTo = new TestNode(path, Object)
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/defaultbinder/default_binder_test.go

    				return true, gotBinding, nil
    			})
    
    			fh, err := frameworkruntime.NewFramework(ctx, nil, nil, frameworkruntime.WithClientSet(client))
    			if err != nil {
    				t.Fatal(err)
    			}
    			binder := &DefaultBinder{handle: fh}
    			status := binder.Bind(ctx, nil, testPod, testNode)
    			if got := status.AsError(); (tt.injectErr != nil) != (got != nil) {
    				t.Errorf("got error %q, want %q", got, tt.injectErr)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 23 02:17:34 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/volumebinding/metrics/metrics.go

    limitations under the License.
    */
    
    package metrics
    
    import (
    	"k8s.io/component-base/metrics"
    	"k8s.io/component-base/metrics/legacyregistry"
    )
    
    // VolumeSchedulerSubsystem - subsystem name used by scheduler
    const VolumeSchedulerSubsystem = "scheduler_volume"
    
    var (
    	// VolumeBindingRequestSchedulerBinderCache tracks the number of volume binder cache operations.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 23 12:18:16 UTC 2021
    - 1.9K bytes
    - Viewed (0)
Back to top