Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 631 for binder (0.77 sec)

  1. pkg/scheduler/framework/plugins/volumebinding/binder.go

    /*
    Copyright 2017 The Kubernetes Authors.
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/DefaultModelRegistry.java

            private final RuleBinder binder;
            private boolean bindInputs;
    
            public RunModelAction(ModelPath path, RuleBinder binder) {
                super(path);
                this.binder = binder;
            }
    
            @Override
            public String toString() {
                return "run action for " + binder.getSubjectBinding().getPredicate() + ", rule: " + binder.getDescriptor() + ", state: " + state;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  7. 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)
  8. pkg/scheduler/framework/plugins/volumebinding/volume_binding.go

    				Score:       int64(point.Score) * (framework.MaxNodeScore / config.MaxCustomPriorityScore),
    			})
    		}
    		scorer = buildScorerFunction(shape)
    	}
    	return &VolumeBinding{
    		Binder:    binder,
    		PVCLister: pvcInformer.Lister(),
    		scorer:    scorer,
    		fts:       fts,
    	}, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top