Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,092 for _selector (0.38 sec)

  1. cmd/import-boss/main.go

    }
    
    func (boss *ImportBoss) verifyRules(pkg *packages.Package, restrictionFiles []*FileFormat) []error {
    	klog.V(3).Infof("verifying pkg %q rules", pkg.PkgPath)
    
    	// compile all Selector regex in all restriction files
    	selectors := make([][]*regexp.Regexp, len(restrictionFiles))
    	for i, restrictionFile := range restrictionFiles {
    		for _, r := range restrictionFile.Rules {
    			re, err := regexp.Compile(r.SelectorRegexp)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 12:36:49 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. samples/security/spire/spire-quickstart.yaml

                    properties:
                      matchExpressions:
                        description: matchExpressions is a list of label selector requirements.
                          The requirements are ANDed.
                        items:
                          description: A label selector requirement is a selector that
                            contains values, a key, and an operator that relates the key
                            and values.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 12 16:12:42 UTC 2023
    - 32.2K bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/testdata/destinationrule-simple-port-credentialname-selector.yaml

    Leonardo Sarra <******@****.***> 1718349751 +0200
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 342 bytes
    - Viewed (0)
  4. operator/cmd/mesh/manifest-generate_test.go

    		// Make sure default and revisions do not cross
    		mustNotSelect(t, mustGetLabels(t, serviceRev, "spec.selector"), podLabels)
    		mustNotSelect(t, mustGetLabels(t, service, "spec.selector"), podLabelsRev)
    		mustNotSelect(t, mustGetLabels(t, pdbRev, "spec.selector.matchLabels"), podLabels)
    		mustNotSelect(t, mustGetLabels(t, pdb, "spec.selector.matchLabels"), podLabelsRev)
    
    		// Make sure the scaleTargetRef points to the correct Deployment
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/namespacecontroller_test.go

    	// Create a namespace with discovery selector enabled
    	createNamespace(t, client.Kube(), nsA, map[string]string{"discovery-selectors": "enabled"})
    	// Create a namespace without discovery selector enabled
    	createNamespace(t, client.Kube(), nsB, map[string]string{})
    	expectConfigMap(t, nc.configmaps, CACertNamespaceConfigMap, nsA, expectedData)
    	// config map should not be created for discovery selector disabled namespace
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/labels/selector_test.go

    	}
    }
    
    func expectMatch(t *testing.T, selector string, ls Set) {
    	lq, err := Parse(selector)
    	if err != nil {
    		t.Errorf("Unable to parse %v as a selector\n", selector)
    		return
    	}
    	if !lq.Matches(ls) {
    		t.Errorf("Wanted %s to match '%s', but it did not.\n", selector, ls)
    	}
    }
    
    func expectNoMatch(t *testing.T, selector string, ls Set) {
    	lq, err := Parse(selector)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 14 16:39:04 UTC 2022
    - 29.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/matching/matching_test.go

    	nsSelector := make(map[string]string)
    	for i := 0; i < 100; i++ {
    		nsSelector[fmt.Sprintf("key-%d", i)] = fmt.Sprintf("val-%d", i)
    	}
    
    	mr := v1.MatchResources{
    		MatchPolicy:       &equivalentMatch,
    		NamespaceSelector: &metav1.LabelSelector{MatchLabels: nsSelector},
    		ObjectSelector:    &metav1.LabelSelector{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  8. pkg/quota/v1/evaluator/core/pods_test.go

    	tests := []struct {
    		name     string
    		selector corev1.ScopedResourceSelectorRequirement
    	}{
    		{
    			name: "PriorityClass selector w/o operator",
    			selector: corev1.ScopedResourceSelectorRequirement{
    				ScopeName: corev1.ResourceQuotaScopePriorityClass,
    			},
    		},
    		{
    			name: "PriorityClass selector w/ 'Exists' operator",
    			selector: corev1.ScopedResourceSelectorRequirement{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  9. pkg/config/analysis/analyzers/deployment/services.go

    	c.ForEach(gvk.Service, func(r *resource.Instance) bool {
    		s := r.Message.(*core_v1.ServiceSpec)
    
    		sSelector := klabels.SelectorFromSet(s.Selector)
    		pLabels := klabels.Set(d.Template.Labels)
    		if !sSelector.Empty() && sSelector.Matches(pLabels) && r.Metadata.FullName.Namespace.String() == deploymentNS {
    			matchingSvcs = append(matchingSvcs, ServiceSpecWithName{r.Metadata.FullName.String(), s})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/VersionRangeSelectorTest.groovy

            !accept("[1.0]", "1.01")
            !accept("[1.0]", "0.9")
            !accept("[1.0]", "1.0-beta1")
        }
    
        @Override
        VersionSelector getSelector(String selector) {
            return new VersionRangeSelector(selector, new DefaultVersionComparator().asVersionComparator(), new VersionParser())
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.1K bytes
    - Viewed (0)
Back to top