Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 82 for _selector (0.2 sec)

  1. src/main/webapp/js/admin/bootstrap.min.js.map

    _activate(target) {\n    this._activeTarget = target\n\n    this._clear()\n\n    const queries = this._selector\n      .split(',')\n      .map((selector) => `${selector}[data-target=\"${target}\"],${selector}[href=\"${target}\"]`)\n\n    const $link = $([].slice.call(document.querySelectorAll(queries.join(','))))\n\n    if ($link.hasClass(ClassName.DROPDOWN_ITEM)) {\n      $link.closest(Selector.DROPDOWN).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE)\n      $link.addClass(ClassName.ACTIVE)\n    }...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 07 10:28:50 UTC 2020
    - 185.8K bytes
    - Viewed (1)
  2. src/main/webapp/js/bootstrap.min.js.map

    _activate(target) {\n    this._activeTarget = target\n\n    this._clear()\n\n    const queries = this._selector\n      .split(',')\n      .map((selector) => `${selector}[data-target=\"${target}\"],${selector}[href=\"${target}\"]`)\n\n    const $link = $([].slice.call(document.querySelectorAll(queries.join(','))))\n\n    if ($link.hasClass(ClassName.DROPDOWN_ITEM)) {\n      $link.closest(Selector.DROPDOWN).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE)\n      $link.addClass(ClassName.ACTIVE)\n    }...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sat Jan 11 06:54:28 UTC 2020
    - 189.9K bytes
    - Viewed (0)
  3. pkg/registry/batch/job/strategy_test.go

    	}{
    		"generate selectors": {
    			job: batch.Job{
    				ObjectMeta: getValidObjectMeta(0),
    				Spec: batch.JobSpec{
    					Selector:       validSelector,
    					ManualSelector: ptr.To(false),
    					Template:       validPodTemplateSpec,
    				},
    			},
    			wantJob: batch.Job{
    				ObjectMeta: getValidObjectMeta(1),
    				Spec: batch.JobSpec{
    					Selector:       validSelector,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 101.5K bytes
    - Viewed (0)
  4. 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)
  5. pkg/controller/statefulset/stateful_set_control_test.go

    		t.Error("Failed to scale statefulset to 5 replicas")
    	}
    	selector, err := metav1.LabelSelectorAsSelector(set.Spec.Selector)
    	if err != nil {
    		t.Error(err)
    	}
    	claims, err := om.claimsLister.PersistentVolumeClaims(set.Namespace).List(selector)
    	if err != nil {
    		t.Error(err)
    	}
    	pods, err := om.podsLister.Pods(set.Namespace).List(selector)
    	if err != nil {
    		t.Error(err)
    	}
    	for _, pod := range pods {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  6. pkg/apis/apps/validation/validation_test.go

    			field.Required(field.NewPath("metadata", "namespace"), ""),
    		},
    	}, {
    		name: "empty selector",
    		set:  mkStatefulSet(&validPodTemplate, tweakSelectorLabels(nil)),
    		errs: field.ErrorList{
    			field.Required(field.NewPath("spec", "selector"), ""),
    			field.Invalid(field.NewPath("spec", "template", "metadata", "labels"), nil, ""), // selector is empty, labels are not, so select doesn't match labels
    		},
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  7. pkg/controller/podautoscaler/horizontal_test.go

    		podNamePrefix := ""
    		labelSet := map[string]string{}
    
    		// selector should be in form: "name=dummy-target-X" where X is the number of resource
    		selector := action.(core.ListAction).GetListRestrictions().Labels
    		parsedSelector := strings.Split(selector.String(), "=")
    		if len(parsedSelector) > 1 {
    			labelSet[parsedSelector[0]] = parsedSelector[1]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/podtopologyspread/filtering_test.go

    	"k8s.io/kubernetes/pkg/scheduler/internal/cache"
    	st "k8s.io/kubernetes/pkg/scheduler/testing"
    	"k8s.io/utils/ptr"
    )
    
    var cmpOpts = []cmp.Option{
    	cmp.Comparer(func(s1 labels.Selector, s2 labels.Selector) bool {
    		return reflect.DeepEqual(s1, s2)
    	}),
    	cmp.Comparer(func(p1, p2 criticalPaths) bool {
    		p1.sort()
    		p2.sort()
    		return p1[0] == p2[0] && p1[1] == p2[1]
    	}),
    }
    
    var (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 143.1K bytes
    - Viewed (0)
  9. pkg/controller/daemon/daemon_controller_test.go

    		if updated.Status.NumberReady != 0 {
    			t.Errorf("Wrong daemon %s status: %v", updated.Name, updated.Status)
    		}
    
    		selector, _ := metav1.LabelSelectorAsSelector(ds.Spec.Selector)
    		daemonPods, _ := manager.podLister.Pods(ds.Namespace).List(selector)
    		for _, pod := range daemonPods {
    			condition := v1.PodCondition{Type: v1.PodReady, Status: v1.ConditionTrue}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  10. pkg/config/validation/validation_test.go

    		},
    		{
    			name: "selector-empty-value",
    			in: &security_beta.AuthorizationPolicy{
    				Selector: &api.WorkloadSelector{
    					MatchLabels: map[string]string{
    						"app":     "",
    						"version": "v1",
    					},
    				},
    			},
    			valid: true,
    		},
    		{
    			name: "selector-empty-key",
    			in: &security_beta.AuthorizationPolicy{
    				Selector: &api.WorkloadSelector{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
Back to top