Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,626 for AsSelector (0.28 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradlePomModuleDescriptorParserTest.groovy

            def dep1 = metadata.dependencies[0]
            dep1.selector == moduleId('group-two', 'artifact-one', '11')
            dep1.scope == MavenScope.Compile
    
            def dep2 = metadata.dependencies[1]
            dep2.selector == moduleId('group-two', 'artifact-three', '11')
            dep2.scope == MavenScope.Compile
    
            def inheritedDep = metadata.dependencies[2]
            inheritedDep.selector == moduleId('group-two', 'artifact-two', '1.2')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 75.4K bytes
    - Viewed (0)
  2. pkg/controller/util/selectors/bimultimap.go

    	return exists
    }
    
    // PutSelector inserts or updates an object with a selector. Associations
    // are created or updated based on the selector.
    func (m *BiMultimap) PutSelector(key Key, selector pkglabels.Selector) {
    	m.mux.Lock()
    	defer m.mux.Unlock()
    
    	selectorKey := selectorKey{
    		key:       selector.String(),
    		namespace: key.Namespace,
    	}
    	if s, ok := m.selectingObjects[key]; ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 21:41:32 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  3. pkg/controller/podautoscaler/metrics/client.go

    // for all pods matching the specified selector in the given namespace
    func (c *customMetricsClient) GetRawMetric(metricName string, namespace string, selector labels.Selector, metricSelector labels.Selector) (PodMetricsInfo, time.Time, error) {
    	metrics, err := c.client.NamespacedMetrics(namespace).GetForObjects(schema.GroupKind{Kind: "Pod"}, selector, metricName, metricSelector)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 16 20:17:52 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/testdata/v1.30.0/autoscaling.v2.HorizontalPodAutoscaler.json

                "type": "typeValue",
                "value": "0",
                "averageValue": "0",
                "averageUtilization": 4
              },
              "metric": {
                "name": "nameValue",
                "selector": {
                  "matchLabels": {
                    "matchLabelsKey": "matchLabelsValue"
                  },
                  "matchExpressions": [
                    {
                      "key": "keyValue",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/execution/selection/DefaultBuildTaskSelectorTest.groovy

        def taskSelector = Mock(TaskSelector)
        def selector = new DefaultBuildTaskSelector(buildRegistry, taskSelector, [new HelpBuiltInCommand()], new DefaultProblems(new NoOpProblemEmitter(), Mock(CurrentBuildOperationRef)))
        def root = rootBuild()
        def target = root.state
    
        def "fails on badly formed path"() {
            when:
            selector.resolveTaskName(null, null, target, path)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 10:15:47 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. pkg/apis/batch/validation/validation_test.go

    					}},
    				}},
    			},
    		},
    	}
    	// This is to test immutability of the selector, both the new and old
    	// selector should match the labels in the template, which is immutable
    	// on its own; therfore, the only way to test selector immutability is
    	// when the new selector is changed but still matches the existing labels.
    	newSelector := getValidGeneratedSelector()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 124.3K bytes
    - Viewed (0)
  7. pilot/pkg/model/authentication_test.go

    		ra.Spec.(*securityBeta.RequestAuthentication).TargetRef = targetRef
    	} else {
    		ra.Spec.(*securityBeta.RequestAuthentication).Selector = selector
    	}
    
    	return ra
    }
    
    func createTestPeerAuthenticationResource(name string, namespace string, timestamp time.Time,
    	selector *selectorpb.WorkloadSelector, mode securityBeta.PeerAuthentication_MutualTLS_Mode,
    ) *config.Config {
    	return &config.Config{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 45.1K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/compatibility/CoverageContext.java

        public final String selector;
    
        CoverageContext(String selector) {
            this.selector = selector;
        }
    
        static CoverageContext from(String requested) {
            for (CoverageContext context : values()) {
                if (context != UNKNOWN && context.selector.equals(requested)) {
                    return context;
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. pkg/apis/apps/v1beta2/conversion.go

    	out.Replicas = int32(in.Replicas)
    	out.TargetSelector = in.Selector
    
    	out.Selector = nil
    	selector, err := metav1.ParseToLabelSelector(in.Selector)
    	if err != nil {
    		return fmt.Errorf("failed to parse selector: %v", err)
    	}
    	if len(selector.MatchExpressions) == 0 {
    		out.Selector = selector.MatchLabels
    	}
    
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 23:36:24 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  10. platforms/software/version-control/src/main/java/org/gradle/vcs/internal/resolver/OncePerBuildInvocationVcsVersionWorkingDirResolver.java

            // Perform the work per repository
            return perRepoGuard.guardByKey(repository.getUniqueId(), new Supplier<File>() {
                @Nullable
                @Override
                public File get() {
                    File workingDir = inMemoryCache.getWorkingDirForSelector(repository, selector.getVersionConstraint());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top